[Feature] Add Qwen3.8-27B local-Hessian PTQ recipes - #2363
Draft
realAsma wants to merge 2 commits into
Draft
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
realAsma
force-pushed
the
asma/layerwise-lm-head
branch
from
September 10, 2026 18:42
5ff8457 to
a776897
Compare
Signed-off-by: realAsma <akuriparambi@nvidia.com>
realAsma
force-pushed
the
asma/qwen38-day0-local-hessian-recipes
branch
from
September 10, 2026 21:15
ac4c17c to
b78e589
Compare
realAsma
commented
Sep 11, 2026
realAsma
commented
Sep 11, 2026
Signed-off-by: realAsma <akuriparambi@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Type of change: new feature
Adds a reusable NVFP4 W4A4 local-Hessian PTQ recipe and a checkpoint-specific recipe for
Qwen/Qwen3.8-27B.The checkpoint recipe reproduces the validated 5.5-bit NVFP4-max AutoQuantize assignment: NVFP4 W4A4 for MLP projections and
lm_head, FP8 W8A8 for self-attention and large linear-attention projections, and no quantization for the vision tower, MTP layers, KV cache, orlinear_attn.in_proj_a/b.This PR is stacked on #2339.
Usage
Local-Hessian calibration currently requires a single-rank run.
Testing
pre-commit run --files <five changed paths>pytest tests/unit/recipe/test_loader.py tests/unit/recipe/test_recipe_docs.py -q -x— 321 passedhf_quant_config.json; all 401 quantized modules matched the expected FP8/NVFP4 formats.Before your PR is "Ready for review"
CONTRIBUTING.md: ✅