Views
No views yet
| File | Size | Source |
|---|---|---|
wan2.2_i2v_a14b_high_noise_nvfp4.safetensors | 8.9 GB | high_noise_model/ |
wan2.2_i2v_a14b_low_noise_nvfp4.safetensors | 8.9 GB | low_noise_model/ |
.comfy_quant metadata for NVFP4 weights).convert-to-quant (ctq) CLI tool using NVFP4 (FP4 E2M1) block quantization,
Comfy-quant format, and the built-in --wan exclusion filter (keeps embeddings, text/time encoders, and the
output head in full precision — only the transformer block linear weights are quantized).diffusion_pytorch_model-0000X-of-00006.safetensors),
but ctq only accepts a single input file. Rather than first reassembling a ~57 GB raw fp32 file (which would
roughly double peak disk usage during conversion), each shard was quantized independently and the resulting
(much smaller) quantized shards were merged afterward. Quantization in ctq operates per-tensor with no
cross-tensor state, so this produces output identical to quantizing a pre-merged file.hf download Wan-AI/Wan2.2-I2V-A14B --include "high_noise_model/*" --local-dir raw
hf download Wan-AI/Wan2.2-I2V-A14B --include "low_noise_model/*" --local-dir rawuv run --with convert-to-quant --with triton --with safetensors --with tqdm --with numpy ctq \
-i raw/<high|low>_noise_model/diffusion_pytorch_model-0000X-of-00006.safetensors \
-o quantized_shards/<high|low>_noise_model/diffusion_pytorch_model-0000X-of-00006.safetensors \
--wan --nvfp4 --comfy_quant --save-quant-metadata --simple --low-memory_quantization_metadata header entries into one (see merge_quantized_shards.py in the parent directory)._quantization_metadata header).--nvfp4 — FP4 E2M1 block quantization--comfy_quant — Comfy quantization tensor/metadata format--wan — WAN video model exclusion filter (skip embeddings, encoders, head)--simple — skip SVD optimization, use simple quantization--save-quant-metadata — embed _quantization_metadata in the safetensors header--low-memory — stream tensors during quantization to reduce RAM usage