Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25428
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 5f32131 with merge base 9f49fe2 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@claude /pr-review |
|
Claude finished @Gasoonjia's task in 28m 13s —— View job PR Review: #25428Requesting changes: Detailed reviewSummaryThis PR loads NVFP4 GGUF weights with their
All 8 changed files were reviewed. No tests were run. Code Quality
Infrastructure
Testing
API Design
RecommendationRequest Changes Must fix before landing:
The rest is cleanup. |
|
Thanks, narrowed.
|
|
@claude /pr-review |
|
Claude finished @Gasoonjia's task in 22m 57s —— View job Approve: no blockers. Three minor items remain: static activation scales are tested only on unfused weights, companion scale values are never range-checked, and Detailed review: PR #25428SummaryThis PR adds NVFP4 GGUF export for Muse Glimmer on CUDA:
Three findings remain, all minor. The Three independent reviewers covered all 12 changed files, and I re-read the code behind every finding. No tests were run, because this job cannot execute Python. Paths are relative to Code Quality
Testing
API Design
RecommendationApprove Nothing blocks landing, and all three findings are minor. The cheapest one worth doing before landing is the equal-scale fusion test, because it covers the path static activation scales take in practice.
|
[ghstack-poisoned]
[ghstack-poisoned]
|
Rebased onto the upstream GGUF rework. The NVFP4 pairing in Authored with Claude Code. |
|
@claude /pr-review |
|
Claude finished @Gasoonjia's task in 24m 5s —— View job Request Changes: the branch still has the pre-rebase loader ( Detailed review: PR #25428SummaryThis PR adds NVFP4 GGUF export for Muse Glimmer on CUDA:
What was reviewed: the checked-out head Findings:
Three independent reviewers covered all 12 changed files, and I re-read the code behind every finding. No tests were run, because this job cannot execute Python. Paths are relative to Code Quality
Testing
API Design
Backward Compatibility
RecommendationRequest Changes Before this lands, the branch has to carry the rebased loader, with a guarded
|
Stack from ghstack (oldest at bottom):
Wires NVFP4 GGUF checkpoints into the Muse Glimmer CUDA export. The GGUF reader pairs each NVFP4 weight with its
.scalecompanion by name (a missing.scalemeans a unit global scale, as in llama.cpp; an unpaired companion, or a missing.input_scalewhen static activation scales are requested, raises before any weight is converted) and feeds the sharediter_checkpoint. On CUDA, Q/K/O-gate and gate/up projections fuse losslessly (per-row global scales where shards differ).source_transformations/nvfp4.pyswaps the MLP fortriton::nvfp4_gated_linear, whose dispatch now also falls back toF.linearfor decode-size M outside forcedw4a4; the batching export installs it too.export_soloandexport_dflashgain--nvfp4-act {auto,w4a4,w4a16}, which setsET_CUDA_NVFP4_ACTonly when given (CUDA only);export_solo --nvfp4-static-actuses the checkpoint's.input_scaleas a static activation scale (load_gguf_model(nvfp4_static_act_scale=True)).Authored with Claude Code.
Differential Revision: D131418680