transformers
🚨 NVFP4: MoE experts and ModelOpt exports on finegrained-kernels
#49851
Open

🚨 NVFP4: MoE experts and ModelOpt exports on finegrained-kernels #49851

IlyasMoutawwakil wants to merge 21 commits into main from nvfp4-experts
IlyasMoutawwakil
IlyasMoutawwakil NVFP4: MoE experts and ModelOpt exports on finegrained-kernels
35b8576e
HuggingFaceDocBuilderDev
IlyasMoutawwakil NVFP4: save_pretrained support, parameterized tests
e39ee4b9
IlyasMoutawwakil NVFP4: build on the quantizer API, port the stack's layout ops, fix TP
6d1360fc
IlyasMoutawwakil NVFP4: review cleanups
f016cd4e
IlyasMoutawwakil NVFP4: plan scales instead of special-casing the shard op, review cle…
9f1f68e7
IlyasMoutawwakil NVFP4: one swizzle op on row-major scale params, no core change
12833c57
IlyasMoutawwakil NVFP4: read MXFP8 checkpoints with NVFP4 experts, readers translate f…
005b75d6
IlyasMoutawwakil NVFP4: shard experts under tensor parallelism instead of replicating …
681ba464
IlyasMoutawwakil NVFP4: swizzle each rank's scales when they fit, warn when they don't
3ca9d26a
IlyasMoutawwakil NVFP4: pass the linear's kernel a contiguous input
664bc049
IlyasMoutawwakil NVFP4: let core build the converters and plan entries from serialized…
df42b9ad
IlyasMoutawwakil NVFP4: say why the linear's input is made contiguous
5082fec5
IlyasMoutawwakil NVFP4: pass the linear's input as it is
89ec7c19
IlyasMoutawwakil NVFP4: keep the experts prefix on the expert stacks' serialized names
5d16de96
SunMarc
SunMarc commented on 2026-10-28
Cyrilvallez small nit
00617dcf
SunMarc
SunMarc commented on 2026-10-28
Cyrilvallez no need for utils for this
04671339
Cyrilvallez cleanup
7309135e
Cyrilvallez cleanup
1351a845
Cyrilvallez cleanup
98fb0683
IlyasMoutawwakil NVFP4: quantize on the fly through the weight conversions
ed2295ea
IlyasMoutawwakil NVFP4: address the review
02c47b16
github-actions

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone