mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-05 07:47:40 +00:00
[PR #26] [MERGED] Add MXFP8 Support and Consolidated stable scaled mm API #87
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#87
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/26
Author: @contentis
Created: 1/23/2026
Status: ✅ Merged
Merged: 1/24/2026
Merged by: @comfyanonymous
Base:
main← Head:scaled_mm_v2📝 Commits (10+)
85d3023Add torch functional scaled_mm3492c5bdlopen cublas making it optional at runtime2b7ffa1add MXFP8 and consolidate v2 MM api186a862add MXFP8 and consolidate v2 MM api9918bdbupdate readme182ea13fix linear dispatch issue for MXafc2386Add turing+ptx, housekeepingd8fc5f9some perf tuning9d610c2add arm64 runner39e1b83Merge branch 'arm64_runner' into scaled_mm_v2📊 Changes
21 files changed (+2051 additions, -31 deletions)
View changed files
📝
.github/workflows/build-wheels.yml(+86 -1)📝
README.md(+4 -0)📝
comfy_kitchen/__init__.py(+73 -0)📝
comfy_kitchen/backends/cuda/CMakeLists.txt(+1 -0)📝
comfy_kitchen/backends/cuda/__init__.py(+46 -0)📝
comfy_kitchen/backends/cuda/dlpack_bindings.cpp(+60 -0)➕
comfy_kitchen/backends/cuda/ops/quantize_mxfp8.cu(+211 -0)📝
comfy_kitchen/backends/eager/__init__.py(+48 -0)📝
comfy_kitchen/backends/eager/quantization.py(+290 -13)📝
comfy_kitchen/backends/triton/__init__.py(+11 -0)📝
comfy_kitchen/backends/triton/quantization.py(+181 -0)📝
comfy_kitchen/float_utils.py(+28 -0)➕
comfy_kitchen/scaled_mm_v2.py(+99 -0)📝
comfy_kitchen/tensor/__init__.py(+3 -0)📝
comfy_kitchen/tensor/fp8.py(+3 -5)➕
comfy_kitchen/tensor/mxfp8.py(+236 -0)📝
pyproject.toml(+1 -0)➕
samples/mxfp8_model_patcher.py(+370 -0)📝
samples/nvfp4_linear.py(+4 -6)📝
tests/test_qdq.py(+62 -0)...and 1 more files
📄 Description
Updated scaled mm API
MXFP8
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.