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 ba64bfe
Browse filesBrowse the repository at this point in the historyBrowse files
Support Qwen3.8 compressed NVFP4 checkpoints (#654)
## Summary
- parse compressed-tensors 0.17.2 mixed FP8/NVFP4 metadata before graph
construction, preserving ordered targets, ignores, and the
last-eight-layer FP8 override
- stream each shard tensor into exact dense reconstruction with strict
dtype/shape/qparam guards, then retain lazy transpose/concat folding
- keep FP8 KV cache disabled by default and require a complete scale map
plus an emitted EP-supported GQA FP8 ABI when explicitly enabled
- add independent packed-code ORT parity, Qwen3.5 VLM package loading,
and immutable official/quantized checkpoint evidence
## Capability
- **Native preserved FP8/NVFP4 weights:** none; current available ORT
dense operator schemas do not exactly match this checkpoint ABI
- **Fallback:** FP8 weights reconstruct as `q * channel_scale`; NVFP4
weights reconstruct as `E2M1(code) * E4M3(block_scale) /
stored_global_scale`, emitted as dense floating-point weights. The
package report and warning explicitly state that output is no longer
NVFP4 and dynamic activation quantization is not represented.
- **KV cache:** float by default. FP8 is opt-in only through the
existing EP-gated GQA feature with every checkpoint `k_scale`/`v_scale`
supplied.
## Immutable evidence
- official base:
`Qwen/Qwen3.8-27B@1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0`
- quantized derivative:
`unsloth/Qwen3.8-27B-NVFP4@9e3d73c76eddb75f795cc24ccfbc5affe41c66bd`
- derivative index total: 23,417,592,488 bytes; representative
safetensors header offsets/dtypes/shapes and LFS identity are pinned in
tests
## Validation
- `8371 passed, 57 skipped, 12 deselected` in the broad serial suite
- targeted compressed-tensors, Qwen3.5, adjacent quantization, FP8
KV-cache, and ORT numerical tests pass
- `lintrunner f --output oneline --all-files` and `lintrunner -a` pass
- three GPT-5.6 Sol medium review rounds completed; all findings fixed
## Waivers
- Full-checkpoint L4/L5 and generation were not run because the task
explicitly prohibits downloading the 23.4 GB payload. Reduced
independently generated FP8/NVFP4 matrices execute in ORT with exact
parity, and the full immutable config/index/header schema is pinned
without payload artifacts.
- Native NVFP4 preservation is unavailable because no actually available
ORT dense operator ABI matches the checkpoint layout and dynamic
activation contract exactly.
---------
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: acdf6027-4e8f-40aa-8600-abc9ee8591a4
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -758,7 +758,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
758
758
logging in `_config_resolver.py`, `_diffusers_builder.py`, and
0 commit comments