mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3738] [Engine] RFC: Extend NVFP4-QAD support to qwen35moe (Qwen 3.6 35B-A3B) #1566
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1566
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @caioBB on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3738
Problem: The
qwen35moeengine path and the NVFP4-QAD conversion pipeline (nvfp4_convert.py,iq_pack.py) both exist in Strata, but the NVFP4-QAD packaging step does not include support for the Qwen 3.6 35B-A3B (qwen35moe) architecture. This leaves a gap: users with RTX 50-series Blackwell GPUs cannot leverage native FP4 Tensor Cores on this model, and are instead forced to use the slower UD-Q4_K_XL running through Strata’s native path (~26–27 t/s). The concrete user need is to unlock NVFP4-native execution for this MoE architecture so that more expert weights fit in VRAM, shifting the bottleneck from PCIe/DDR5 bandwidth to Blackwell FP4 compute throughput.The current workaround is running
qwen36-UD-Q4_K_XLvia the baseline path at ~26–27 t/s on 12GB VRAM, with expert weights continuously paged from host RAM during generation. This is functional but underutilizes available hardware capability.Environment:
qwen35engine via StrataReproduce: Load
qwen36-UD-Q4_K_XL baselinein Strata using theqwen35inference path with default offloading settings; observe sustained token generation speed and VRAM/PCIe memory profile.Expected: With an NVFP4-QAD conversion available for this architecture, the model would execute via native FP4 Tensor Cores on Blackwell hardware, reducing per-weight footprint from ~0.5 bytes (Q4_K_XL) to ~0.25 bytes. This should allow a larger fraction of experts to remain VRAM-resident and shift the bottleneck from memory bandwidth to compute throughput.
Evidence:
nvfp4_convert.py,iq_pack.py, and a workingqwen35engine inference path with MoE expert routing. Not sure if kernel or routing modifications are required — or only the packaging/registration step for this model variant.Approach / Proposed Solution:
qwen35moe(Qwen 3.6 35B-A3B) in the NVFP4-QAD architecture support matrix withinnvfp4_convert.py.Why This Matters:
Limits: On a 12GB VRAM card, some host-device transfers will still be necessary depending on context length and expert routing distribution. Actual performance gains depend on the proportion of experts that fit in VRAM post-conversion and PCIe transfer overlap.
Note on AI-assisted contribution:
As permitted by CONTRIBUTING.md, this issue was drafted locally by the Qwen 3.6 35B-A3B model running on the hardware described above. Specific data verified and provided, even if the RFC is not very clear.
@caioBB commented on GitHub (Oct 22, 2026):
I think it is not clear enought so here is my honest simplified version. My english is kinda bad, so i am going to explain in simple words so anyone interested can still understand what i wanted to say:
Thanks for reading this.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.