Files
Strata/engine/include
Niko1221 5f36afb2a8 feat(inkling2-cuda): the Tesla P100 (cc 6.0) keeps DFlash 2 by default on a hybrid load (owner: "Turn drafter on at P100")
Principle 1b of the drafter rule (below sm_80 a hybrid load never gets the default drafter) gets one exception: compute capability 6.0 exactly, the Tesla P100.
SQ-20 v2 on a P100 16 GB (hybrid, 2313 experts in VRAM), decode tok/s, DFlash 2 against the shipped DSpark and plain: code 29.0 / 21.8 / 12.8, json 29.4 / 22.1, tool 19.7 / 15.3
(prose and chat are lower than plain). The owner wants the drafter on there.

- InkDraftLoadIn::sm60 (set from the card in the CUDA backend: sm_cc == 60), rule 1b becomes `below_sm80 && !sm60 && !full_without`.
- Unchanged on sm_60: principle 1 (a resident model the drafter would push to hybrid, or a tier cut of 10 % or more, is still vetoed), principle 2 (hybrid plain steps from 2048 tokens of
  context), `--draft off` wins. Unchanged elsewhere: sm_61 (GTX 10), sm_70 hybrid and sm_75 (RTX 20) keep the 1b veto.
- Unit test: the P100 case (loaded), the same load on sm_61 / 70 / 75 (vetoed), a 24 % tier cut on the P100 (vetoed), resident -> hybrid (vetoed), --draft off, a resident P100, and the hybrid
  plain-step limit; `ink_draft_rule_test: ok` (g++ -std=c++17).

Smoke on a Tesla P100 16 GB (sm_60, one binary from this commit, SQ-20 v2 + the shipped DFlash 2 sidecar file A (mix, 551,600,700 B, sha256 cf7dbb08...), 2 rounds alternating):
  default start: "[InkDFlash2] DFlash 2 drafter on: ... mix Q8 + SF4 block weights" (2154 experts in VRAM / 918 host, hybrid), no veto line
  decode tok/s, default (DFlash 2) against --draft off: prose 29.8 / 32.1, chat 35.0 / 31.9, json 35.4 / 25.9, code 41.1 / 28.0, count 45.1 / 24.6, tool 36.1 / 26.3, 4K document 20.2 / 19.3
  (the document runs plain steps from 2048 tokens: principle 2); greedy tokens identical to --draft off on prose, json, code, count, doc4k (2/2), chat and tool differ (the batched verify, as on
  every card); --parallel 4 starts, answers 4 requests of 96 tokens (e2e 19.1 tok/s, steady 27.2).
2026-11-27 09:20:44 +01:00
..