mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #233] Optimize NVFP4 and MXFP8 quantization in Triton backend #243
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-kitchen#243
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?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-kitchen/pull/233
Author: @nukuihayu
Created: 10/8/2026
Status: 🔄 Open
Base:
main← Head:optimize-triton-nvfp4-mxfp8📝 Commits (1)
5752a5dOptimize NVFP4 and MXFP8 quantization in Triton backend📊 Changes
1 file changed (+155 additions, -192 deletions)
View changed files
📝
comfy_kitchen/backends/triton/quantization.py(+155 -192)📄 Description
Changes
Performance
RTX 5090, BF16 input:
About 22× faster for NVFP4 and 213× for MXFP8 at 4096², with no material small-input regression across 12 tested operation/shape combinations.
CUDA Graph GPU timings include scale clearing and quantization, excluding Python and compilation. Median of seven alternating rounds, 20 calls per replay. PyTorch 2.13.0+cu130, Triton 3.7.1; baseline
be003b7c.Testing
git diff --checkpassed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.