Instructions to use vanzl/DiffusionART-HunyuanVideo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use vanzl/DiffusionART-HunyuanVideo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("vanzl/DiffusionART-HunyuanVideo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download release.json from vanzl/DiffusionART-HunyuanVideo: direct link, hf CLI and curl.
- Browser
- Download file 6.98 kB
-
https://huggingface.co/vanzl/DiffusionART-HunyuanVideo/resolve/main/release.json
- Command line
-
hf download hf://vanzl/DiffusionART-HunyuanVideo/release.json
-
curl -L -o release.json https://huggingface.co/vanzl/DiffusionART-HunyuanVideo/resolve/main/release.json
6.98 kB
| { | |
| "acceptance": { | |
| "independent_gpu_inference_verified": false, | |
| "per_tensor_shard_byte_equality": true, | |
| "remote_transport_verified": true, | |
| "source_boundary_shape_dtype_finite_sha256": true | |
| }, | |
| "base_model": { | |
| "generation": "original HunyuanVideo-13B", | |
| "repository": "hunyuanvideo-community/HunyuanVideo", | |
| "revision": "e8c2aaa66fe3742a32c11a6766aecbf07c56e773" | |
| }, | |
| "default_inference_protocol": { | |
| "classic_cfg": false, | |
| "embedded_guidance_tensor": 6018, | |
| "eta": 0, | |
| "fps": 8, | |
| "frames": 53, | |
| "height": 640, | |
| "sampling_steps": 30, | |
| "seed": 312, | |
| "shift": 7, | |
| "state_dtype": "bf16_per_step_final_float32_x0", | |
| "width": 640 | |
| }, | |
| "generated_at_utc_unix": 1791423299.4929655, | |
| "native_runtime": { | |
| "loader": "fastvideo.utils.load.load_transformer(hunyuan_hf)", | |
| "repository": "XueZeyue/DanceGRPO", | |
| "revision": "15cc71d53cc2e6e18a68ee607d5fb6ba9a99e344" | |
| }, | |
| "package": { | |
| "file_hashes": { | |
| "LICENSE.txt": { | |
| "bytes": 15302, | |
| "sha256": "6ba8ea0dc1c464c9ab549b281be5d3afcab93c3308a6967d22240150d844c54d" | |
| }, | |
| "Notice": { | |
| "bytes": 18975, | |
| "sha256": "6f7d8a47d6a713f0a1f88841520a9f55b431c422a52d83962695883ae2fe8008" | |
| }, | |
| "README.md": { | |
| "bytes": 3768, | |
| "sha256": "fc7859bdee85ac50a16268fb34fb7fc3803e07c18884294dced9920f90b9a2c7" | |
| }, | |
| "transformer/config.json": { | |
| "bytes": 728, | |
| "sha256": "e7fbdf020eead526f6f8cc8046c7eca1dc718d2991cdb845744718994b4164f4" | |
| }, | |
| "transformer/diffusion_pytorch_model-00001-of-00012.safetensors": { | |
| "bytes": 4522486128, | |
| "sha256": "690286ec1b943413ea0276e5e3d047ee1f798f4b8db30306de63dea49e97083b" | |
| }, | |
| "transformer/diffusion_pytorch_model-00002-of-00012.safetensors": { | |
| "bytes": 4530951192, | |
| "sha256": "70afbae8554584682cc2faa19689a2b6fe5635da7145d8f2e91c3d056ada07e0" | |
| }, | |
| "transformer/diffusion_pytorch_model-00003-of-00012.safetensors": { | |
| "bytes": 4530951208, | |
| "sha256": "305018cde078fbac859d24bccacbf9efc0d0504dcb6183a09fa8898ea50d8e84" | |
| }, | |
| "transformer/diffusion_pytorch_model-00004-of-00012.safetensors": { | |
| "bytes": 4530951192, | |
| "sha256": "e55c68eba589e2ec968c5652e3d58340695b9f79bbbae7103f1c5bb9b04203cd" | |
| }, | |
| "transformer/diffusion_pytorch_model-00005-of-00012.safetensors": { | |
| "bytes": 4530951152, | |
| "sha256": "75c2ce3be50ce15f7b0c3fdfe3b783a1afd441c8c27dd29a2669fa95cb15207f" | |
| }, | |
| "transformer/diffusion_pytorch_model-00006-of-00012.safetensors": { | |
| "bytes": 4471331200, | |
| "sha256": "b4aff69af15641b9a4d71c158603a5fea4f9ed7d637779f0750b4a3279b0cfbd" | |
| }, | |
| "transformer/diffusion_pytorch_model-00007-of-00012.safetensors": { | |
| "bytes": 4531046048, | |
| "sha256": "4b0e316728bd74476ac3def19df8b08486632f412166cceb98d027493474fbe6" | |
| }, | |
| "transformer/diffusion_pytorch_model-00008-of-00012.safetensors": { | |
| "bytes": 4455622040, | |
| "sha256": "21ad0f2955b9a7367468d95cb52b49c04e19bca9c97be49b9672845725816c1f" | |
| }, | |
| "transformer/diffusion_pytorch_model-00009-of-00012.safetensors": { | |
| "bytes": 4568822976, | |
| "sha256": "c000f2bdfb30544097dc41f23bcb881591fae263431eef31a5d8eec51361b1f3" | |
| }, | |
| "transformer/diffusion_pytorch_model-00010-of-00012.safetensors": { | |
| "bytes": 4568844056, | |
| "sha256": "364f610a7f0401a82d062f68b1595269b4a2168268b9d503efd2d8e6514a8a5e" | |
| }, | |
| "transformer/diffusion_pytorch_model-00011-of-00012.safetensors": { | |
| "bytes": 4455621944, | |
| "sha256": "825edf0374dd8816dc5c8493c42d9021d92a9c2533aa7dfd35f38096e09128f9" | |
| }, | |
| "transformer/diffusion_pytorch_model-00012-of-00012.safetensors": { | |
| "bytes": 1586620304, | |
| "sha256": "599df789da308306d40ace7bfe0b729b454844d1d39d1efe20bc4661867672c4" | |
| }, | |
| "transformer/diffusion_pytorch_model.safetensors.index.json": { | |
| "bytes": 133108, | |
| "sha256": "5d6dd383a6a5060131c704abc79d77ef2ed62d7921027f5bd6a1f5514e0fa5d9" | |
| } | |
| }, | |
| "format": "full_model_only_sharded_safetensors", | |
| "max_file_bytes": 5000000000, | |
| "self_hash": "recorded in the external hf-step30-release.json result", | |
| "shard_count": 12, | |
| "tensor_count": 1264, | |
| "total_tensor_bytes": 51284050176 | |
| }, | |
| "repository": "vanzl/DiffusionART-HunyuanVideo-7-2-1", | |
| "run_observed_terminal_state": "crashed_after_optimizer_step_40", | |
| "runtime_commit": "cdfaf575ceaa72c207fe9fd390c5b979c9075105", | |
| "schema_version": 1, | |
| "science_contract": { | |
| "path": "runners/t2v_formal_batch_v1/flowart_main721_val150_mse01_u100.json", | |
| "sha256": "66a5895f3ad88598eeed763f84ea6fcd7186fb92ea17527659eb1cb2ae9f679a" | |
| }, | |
| "selected_optimizer_step": 30, | |
| "selected_rollout": 15, | |
| "source_checkpoint": { | |
| "all_tensors_finite": true, | |
| "bytes": 51284201920, | |
| "config_path": "/m2v_intern/zhenglin/paper_outputs/P1-HUNYUAN-T2V-DIFFUSIONART-TA70VQ20MQ10-P32-K8-EVAL150-U100-MSE01-MODEL10-S42-V1-MPI/mse01_u100_20261007T145452Z_1640367/checkpoints/export-15-2ae3f3e70042462ea22b9441d488cb7e-a915db484b1343c3b727b4b4ecbfe070/checkpoint-15-0/config.json", | |
| "config_sha256": "e7fbdf020eead526f6f8cc8046c7eca1dc718d2991cdb845744718994b4164f4", | |
| "dtype": "F32", | |
| "path": "/m2v_intern/zhenglin/paper_outputs/P1-HUNYUAN-T2V-DIFFUSIONART-TA70VQ20MQ10-P32-K8-EVAL150-U100-MSE01-MODEL10-S42-V1-MPI/mse01_u100_20261007T145452Z_1640367/checkpoints/export-15-2ae3f3e70042462ea22b9441d488cb7e-a915db484b1343c3b727b4b4ecbfe070/checkpoint-15-0/diffusion_pytorch_model.safetensors", | |
| "sha256": "684760d8b20a9019972fe77944c34b42b845768e463c71abd579a70502530638", | |
| "tensor_count": 1264 | |
| }, | |
| "source_run": { | |
| "id": "tk1w4go1", | |
| "url": "https://wandb.ai/vanzl3386-chinese-university-of-hong-kong-shenzhen/flow-grpo-algo/runs/tk1w4go1" | |
| }, | |
| "step30_evaluation": { | |
| "path": "/m2v_intern/zhenglin/paper_outputs/P1-HUNYUAN-T2V-DIFFUSIONART-TA70VQ20MQ10-P32-K8-EVAL150-U100-MSE01-MODEL10-S42-V1-MPI/mse01_u100_20261007T145452Z_1640367/evaluation/step-0000030/1791395229409657297/scores.json", | |
| "sample_count": 150, | |
| "scores_sha256": "eab093b1f31e50db6d3ae945d922450ecb4eaf177e26a0ba396d9b2c4247add9", | |
| "validation100_raw_means": { | |
| "MQ": 2.6786230605840684, | |
| "TA": 1.6762551510334014, | |
| "VQ": 6.51484375 | |
| } | |
| }, | |
| "training_objective": { | |
| "feedback": "fixed-normalized TA/VQ/MQ", | |
| "method": "masked scalar DiffusionART", | |
| "reference_mse_beta": 0.1, | |
| "reference_regularizer": "pretrained_velocity_mse", | |
| "reward_weights": { | |
| "MQ": 0.1, | |
| "TA": 0.7, | |
| "VQ": 0.2 | |
| } | |
| }, | |
| "training_target_optimizer_steps": 100, | |
| "upstream_license": { | |
| "files": [ | |
| "LICENSE.txt", | |
| "Notice" | |
| ], | |
| "name": "Tencent Hunyuan Community License Agreement", | |
| "repository": "tencent/HunyuanVideo", | |
| "revision": "6204ad6aea1a77ff5aba337c88278bb9500eb37" | |
| }, | |
| "visibility": "private" | |
| } | |