Open
Conversation
Signed-off-by: BuffMcBigHuge <marco@bymar.co>
Signed-off-by: BuffMcBigHuge <marco@bymar.co>
Signed-off-by: BuffMcBigHuge <marco@bymar.co>
Contributor
|
I'll look into this more later, but on the first run with this branch with default LongLive settings: Would be helpful to note the CUDA driver version required. EDIT: I updated to the the latest driver version on my PC (see details below) and it runs now. Will share test results separately. |
varshith15
reviewed
Feb 22, 2026
| from .enums import Quantization as Quantization # noqa: PLC0414 | ||
| from .enums import VaeType as VaeType # noqa: PLC0414 | ||
|
|
||
| # Re-export quantization utilities |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds official support for NVFP4 quantization, enabling ~4x weight memory reduction on Blackwell GPUs (SM >= 10.0). NVFP4 uses NVIDIA's E2M1 format and hardware-accelerated Tensor Core kernels via comfy-kitchen.
What's new
nvfp4 (Blackwell)in the quantization dropdown when their hardware supports it.quantization_utils.py, replacing duplicated FP8 logic across pipelines.supports_nvfp4in the hardware info API based on CUDA device capability (SM >= 10.0). The UI only shows the NVFP4 option when supported.Technical details
QuantizedTensorwithTensorCoreNVFP4Layoutfor hardware-accelerated matmul on Blackwell.comfy-kitchen[cublas]>=0.1.0(Linux/Windows) andtorchaudio==2.9.1for future audio support.Pipelines updated
All pipelines that support quantization now use the shared
apply_quantization():Files changed
quantization_utils.py, enum update, 6 pipelines refactored, VACE mixin, hardware info APIsupportsNvfp4wiring, quantization dropdown with conditional NVFP4 option, persisted state resetcomfy-kitchen[cublas],torchaudioin pyproject.toml