You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a773e68
Browse filesBrowse the repository at this point in the historyBrowse files
Prepare NVFP4 draft and Markov heads behind independent flags (#65)
DeepSeek V4 and V4.1 can prepare separate NVFP4 copies of the draft
vocabulary head and the Markov transition projection. Each is selected by its
own opt-in flag and recipe capability; omitting both keeps checkpoint
precision, and the target verification head always keeps its checkpoint
precision. Quantized heads run with BF16 activations, and the Markov kernel's
BF16 output is widened to FP32 before bias addition.
The rebuild record gains optional fields 8 and 9 so a rebuild reproduces the
selected head precision instead of silently falling back to the checkpoint.
Fields are written only when selected, so existing BF16 manifests remain
byte-identical. The export path rejects unknown fields, so the schema must
carry every key the manifest writes; the Python bindings are regenerated with
protoc 35.1, the version that produced the checked-in file.
Tests cover the four draft/Markov combinations through the export schema, the
independent flag and plan validation, the Markov projection's BF16-to-FP32
path, and a record written before the fields existed. Focused suites pass;
six Kimi-K3 failures pre-exist because the checkpoint fixture is absent. CUDA
tests were not run in this environment; they require FLARE_RUN_CUDA_TESTS=1.
A paired A/B on four DGX Sparks measured +4.0% coding throughput and flat
acceptance (64.6% to 63.8%) for both heads together versus checkpoint
precision, with the NVFP4 package noisier across rounds.
Claude-Session: https://claude.ai/code/session_01PFTkgqizAoWiQUS1Z3uR9v
Design-Signed-Off-By: ds41; design-review=6aeb
Co-authored-by: ds41 <noreply@invalid>
0 commit comments