Model Details
This model is an MXFP8 W8A8 quantized version of Wan-AI/Wan2.2-T2V-A14B-Diffusers, generated using the Intel AutoRound algorithm. Please follow the license of the original model.
- Quantized (MXFP8): dual diffusion transformer experts (
transformerandtransformer_2, 400 linear layers each) - Format: OCP microscaling FP8 weights and activations, group size 32, with dynamic activation quantization.
- Not quantized to MXFP8: text encoder (UMT5), VAE, embeddings, norms, and excluded projections.
How to Use
Environment
The evaluated setup used NVIDIA B200, Python 3.12.3, PyTorch 2.14.0, vLLM 0.33.0, FlashInfer 0.7.2.post1, NVIDIA CUTLASS DSL 4.8.0, and CUDA toolkit 12.8.93, with official vLLM-Omni commit 7465c0f52. Use a compatible environment with support for AutoRound MXFP8 checkpoints.
Inference used TRTLLM_ATTN attention, FlashInfer CUTLASS MXFP8 GEMMs, and the CuTe DSL activation quantizer, not an activation quantize-dequantize emulation path. Keep the exported AutoRound quantization metadata unchanged.
vLLM-Omni Usage
DIFFUSION_ATTENTION_BACKEND=TRTLLM_ATTN \
vllm serve intel-ai/Wan2.2-T2V-A14B-Diffusers-MXFP8-AutoRound --omni
Use the /v1/videos endpoint for video generation. The command above is a serving
example; the reported evaluation used the Omni Python API with the settings below.
Text-to-Video Example
From the vLLM-Omni checkout above, generate a 720p video with the official offline example:
CUDA_VISIBLE_DEVICES=0 DIFFUSION_ATTENTION_BACKEND=TRTLLM_ATTN \
python examples/offline_inference/text_to_video/text_to_video.py \
--model intel-ai/Wan2.2-T2V-A14B-Diffusers-MXFP8-AutoRound \
--model-class-name WanPipeline \
--prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage." \
--negative-prompt "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" \
--height 720 --width 1280 --num-frames 81 --fps 16 \
--num-inference-steps 40 \
--guidance-scale 4.0 --guidance-scale-high 3.0 \
--boundary-ratio 0.875 --flow-shift 5.0 \
--seed 42 --enforce-eager \
--output wan22_mxfp8.mp4
Evaluation
Video Generation Comparison
Prompt: "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage." — 1280 × 720, 81 frames, 40 steps, 16 fps, seed 42, CFG 4.0/3.0. Both videos use the same negative prompt and generation settings. The BF16 reference is identical to the one shown in the NVFP4 model card.
| BF16 Reference | MXFP8 (This Model) |
|---|---|
| Download BF16 Video | Download MXFP8 Video |
VBench Results
Evaluated with VBench 0.1.5 on the same 165 prompts for BF16 and MXFP8:
72 from subject_consistency and 93 from overall_consistency. Each metric was
computed over all 165 videos of each model, not averaged from separate group scores.
| Generation setting | Value |
|---|---|
| Resolution / frames / fps | 1280 × 720 / 81 / 16 |
| Inference steps | 40 |
| Guidance scales | 4.0 / 3.0 |
| Seed | 42, reset for each prompt |
| Boundary ratio / flow shift | 0.875 / 5.0 |
| Negative prompt | Official Wan negative prompt |
| Runtime | Eager; no cache, CPU offload, or VAE tiling/slicing |
The flow shift was explicitly set to 5.0 for both models, rather than the local
scheduler default of 3.0. Evaluation used custom_input, local=True,
read_frame=False, and imaging_quality_preprocessing_mode="longer".
Scores are fractions; higher is better. Recovery is MXFP8 divided by BF16.
| Metric | BF16 | MXFP8 | Recovery |
|---|---|---|---|
| imaging_quality | 0.721889 | 0.722244 | 100.05% |
| aesthetic_quality | 0.622004 | 0.621066 | 99.85% |
| motion_smoothness | 0.980194 | 0.980503 | 100.03% |
| overall_consistency | 0.237381 | 0.238093 | 100.30% |
| subject_consistency | 0.951550 | 0.952117 | 100.06% |
The mean absolute relative change across these five metrics is 0.12%. This is a one-video-per-prompt subset evaluation, not the standard five-sample full VBench protocol; no VBench total score is reported. The showcase pair above is separate from these 165-video evaluation sets.
Generate the Model
uv pip install git+https://github.com/intel/auto-round.git@3ab65744a0013a90759bd21ee56a115c8605bd37
auto-round \
--model Wan-AI/Wan2.2-T2V-A14B-Diffusers \
--scheme MXFP8 \
--dataset opens2v \
--nsamples 32 \
--iters 200 \
--batch_size 1 \
--calib_num_inference_steps 8 \
--low_gpu_mem_usage \
--diffusion_tuning_cache_size auto \
--output_dir Wan2.2-T2V-A14B-Diffusers-MXFP8-AutoRound
Ethical Considerations and Limitations
This model inherits the capabilities and limitations of the base model. Generated videos may contain artifacts, inaccurate content, or bias. Perform appropriate quality and safety testing before deployment. The reported results cover a limited prompt subset and a single seed; small score increases do not establish a general quality improvement.
Caveats and Recommendations
Disclaimer
The license on this model does not constitute legal advice. Users are responsible for complying with the original model's license and applicable deployment requirements.
Cite
@article{cheng2023optimize,
title={Optimize weight rounding via signed gradient descent for the quantization of llms},
author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi},
journal={arXiv preprint arXiv:2309.05516},
year={2023}
}