🚀 Starting multi-GPU benchmark sampling 🔢 Total dimensions to process: 3 📋 Dimensions: overall_consistency subject_consistency scene 🔍 Processing dimension: overall_consistency Loaded configuration from: yaml_config/sample/flowcache_vbench.yaml.tmp Total samples: 93 GPUs: [0] Output: outputs/vbench/videos/overall_consistency Config: config/sample/vbench.json /home/dyvm6xra/dyvm6xrauser11/miniforge3/envs/magi/lib/python3.10/site-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) [W520 12:19:50.307116267 CUDAAllocatorConfig.h:28] Warning: expandable_segments not supported on this platform (function operator()) [2026-05-20 12:19:50,862 - INFO] Initialize torch distribution and model parallel successfully [2026-05-20 12:19:50,862 - INFO] MagiConfig(model_config=ModelConfig(model_name='videodit_ardf', num_layers=34, hidden_size=3072, ffn_hidden_size=12288, num_attention_heads=24, num_query_groups=8, kv_channels=128, layernorm_epsilon=1e-06, apply_layernorm_1p=True, x_rescale_factor=1, half_channel_vae=False, params_dtype=torch.bfloat16, patch_size=2, t_patch_size=1, in_channels=16, out_channels=16, cond_hidden_ratio=0.25, caption_channels=4096, caption_max_length=800, xattn_cond_hidden_ratio=1.0, cond_gating_ratio=1.0, gated_linear_unit=False), runtime_config=RuntimeConfig(cfg_number=1, cfg_t_range=[0.0, 0.0217, 0.1, 0.3, 0.999], prev_chunk_scales=[1.5, 1.5, 1.5, 1.0, 1.0], text_scales=[7.5, 7.5, 7.5, 0.0, 0.0], noise2clean_kvrange=[], clean_chunk_kvrange=1, clean_t=0.9999, seed=1234, num_frames=240, video_size_h=720, video_size_w=720, num_steps=16, window_size=4, fps=24, chunk_width=6, t5_pretrained='./downloads/t5_pretrained', t5_device='cuda', vae_pretrained='./downloads/vae', scale_factor=0.18215, temporal_downsample_factor=4, load='./downloads/4.5B_distill'), engine_config=EngineConfig(distributed_backend='nccl', distributed_timeout_minutes=15, pp_size=1, cp_size=1, cp_strategy='none', ulysses_overlap_degree=1, fp8_quant=False, distill_nearly_clean_chunk_threshold=0.3, shortcut_mode='8,16,16', distill=True, kv_offload=True, enable_cuda_graph=False)) [2026-05-20 12:19:50,862 - INFO] Precompute validation prompt embeddings You are using the default legacy behaviour of the . This is expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 KV cache compression is enabled. Processing 93 samples. [GPU 0] Assigned 93 samples [GPU 0] Loading model... [GPU 0] Model loaded. [GPU 0] Generating T2V: 'Close up of grapes on a rotating table.' -> /home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/outputs/vbench/videos/overall_consistency/Close up of grapes on a rotating table.-0.mp4 Loading checkpoint shards: 0%| | 0/2 [00:00 [ File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/video_generate.py", line 1129, in generate_per_chunk for _, _, chunk in sample_transport.walk(): File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/video_generate.py", line 1092, in walk clean_chunk, chunk_idx = self.integrate_velocity(work_status.infer_idx, work_status.cur_denoise_step) File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/flowcache.py", line 530, in flowcache_integrate_velocity _check_and_compress_kv(self, infer_idx, chunk_start, transport_input) File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/flowcache.py", line 570, in _check_and_compress_kv compressor.compress( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/cache/kv_compressor.py", line 158, in compress layer_result = self._compress_layer( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/cache/kv_compressor.py", line 251, in _compress_layer key_compressed, value_compressed, indices = kv_cluster.update_kv( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/kvcompress/kv_compressor.py", line 52, in update_kv return self.update_kv_token( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/kvcompress/kv_compressor.py", line 168, in update_kv_token raise ValueError(f"Unknown score weighting method: {self.score_weighting_method}") ValueError: Unknown score weighting method: None ✅ Completed: overall_consistency --- 🔍 Processing dimension: subject_consistency Loaded configuration from: yaml_config/sample/flowcache_vbench.yaml.tmp Total samples: 72 GPUs: [0] Output: outputs/vbench/videos/subject_consistency Config: config/sample/vbench.json /home/dyvm6xra/dyvm6xrauser11/miniforge3/envs/magi/lib/python3.10/site-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) [W520 12:22:42.069407203 CUDAAllocatorConfig.h:28] Warning: expandable_segments not supported on this platform (function operator()) [2026-05-20 12:22:42,624 - INFO] Initialize torch distribution and model parallel successfully [2026-05-20 12:22:42,624 - INFO] MagiConfig(model_config=ModelConfig(model_name='videodit_ardf', num_layers=34, hidden_size=3072, ffn_hidden_size=12288, num_attention_heads=24, num_query_groups=8, kv_channels=128, layernorm_epsilon=1e-06, apply_layernorm_1p=True, x_rescale_factor=1, half_channel_vae=False, params_dtype=torch.bfloat16, patch_size=2, t_patch_size=1, in_channels=16, out_channels=16, cond_hidden_ratio=0.25, caption_channels=4096, caption_max_length=800, xattn_cond_hidden_ratio=1.0, cond_gating_ratio=1.0, gated_linear_unit=False), runtime_config=RuntimeConfig(cfg_number=1, cfg_t_range=[0.0, 0.0217, 0.1, 0.3, 0.999], prev_chunk_scales=[1.5, 1.5, 1.5, 1.0, 1.0], text_scales=[7.5, 7.5, 7.5, 0.0, 0.0], noise2clean_kvrange=[], clean_chunk_kvrange=1, clean_t=0.9999, seed=1234, num_frames=240, video_size_h=720, video_size_w=720, num_steps=16, window_size=4, fps=24, chunk_width=6, t5_pretrained='./downloads/t5_pretrained', t5_device='cuda', vae_pretrained='./downloads/vae', scale_factor=0.18215, temporal_downsample_factor=4, load='./downloads/4.5B_distill'), engine_config=EngineConfig(distributed_backend='nccl', distributed_timeout_minutes=15, pp_size=1, cp_size=1, cp_strategy='none', ulysses_overlap_degree=1, fp8_quant=False, distill_nearly_clean_chunk_threshold=0.3, shortcut_mode='8,16,16', distill=True, kv_offload=True, enable_cuda_graph=False)) [2026-05-20 12:22:42,625 - INFO] Precompute validation prompt embeddings You are using the default legacy behaviour of the . This is expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 KV cache compression is enabled. Processing 72 samples. [GPU 0] Assigned 72 samples [GPU 0] Loading model... [GPU 0] Model loaded. [GPU 0] Generating T2V: 'a person swimming in ocean' -> /home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/outputs/vbench/videos/subject_consistency/a person swimming in ocean-0.mp4 Loading checkpoint shards: 0%| | 0/2 [00:00 [ File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/video_generate.py", line 1129, in generate_per_chunk for _, _, chunk in sample_transport.walk(): File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/video_generate.py", line 1092, in walk clean_chunk, chunk_idx = self.integrate_velocity(work_status.infer_idx, work_status.cur_denoise_step) File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/flowcache.py", line 530, in flowcache_integrate_velocity _check_and_compress_kv(self, infer_idx, chunk_start, transport_input) File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/flowcache.py", line 570, in _check_and_compress_kv compressor.compress( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/cache/kv_compressor.py", line 158, in compress layer_result = self._compress_layer( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/cache/kv_compressor.py", line 251, in _compress_layer key_compressed, value_compressed, indices = kv_cluster.update_kv( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/kvcompress/kv_compressor.py", line 52, in update_kv return self.update_kv_token( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/kvcompress/kv_compressor.py", line 168, in update_kv_token raise ValueError(f"Unknown score weighting method: {self.score_weighting_method}") ValueError: Unknown score weighting method: None ✅ Completed: subject_consistency --- 🔍 Processing dimension: scene Loaded configuration from: yaml_config/sample/flowcache_vbench.yaml.tmp Total samples: 86 GPUs: [0] Output: outputs/vbench/videos/scene Config: config/sample/vbench.json /home/dyvm6xra/dyvm6xrauser11/miniforge3/envs/magi/lib/python3.10/site-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) [W520 12:25:23.550998312 CUDAAllocatorConfig.h:28] Warning: expandable_segments not supported on this platform (function operator()) [2026-05-20 12:25:23,106 - INFO] Initialize torch distribution and model parallel successfully [2026-05-20 12:25:23,106 - INFO] MagiConfig(model_config=ModelConfig(model_name='videodit_ardf', num_layers=34, hidden_size=3072, ffn_hidden_size=12288, num_attention_heads=24, num_query_groups=8, kv_channels=128, layernorm_epsilon=1e-06, apply_layernorm_1p=True, x_rescale_factor=1, half_channel_vae=False, params_dtype=torch.bfloat16, patch_size=2, t_patch_size=1, in_channels=16, out_channels=16, cond_hidden_ratio=0.25, caption_channels=4096, caption_max_length=800, xattn_cond_hidden_ratio=1.0, cond_gating_ratio=1.0, gated_linear_unit=False), runtime_config=RuntimeConfig(cfg_number=1, cfg_t_range=[0.0, 0.0217, 0.1, 0.3, 0.999], prev_chunk_scales=[1.5, 1.5, 1.5, 1.0, 1.0], text_scales=[7.5, 7.5, 7.5, 0.0, 0.0], noise2clean_kvrange=[], clean_chunk_kvrange=1, clean_t=0.9999, seed=1234, num_frames=240, video_size_h=720, video_size_w=720, num_steps=16, window_size=4, fps=24, chunk_width=6, t5_pretrained='./downloads/t5_pretrained', t5_device='cuda', vae_pretrained='./downloads/vae', scale_factor=0.18215, temporal_downsample_factor=4, load='./downloads/4.5B_distill'), engine_config=EngineConfig(distributed_backend='nccl', distributed_timeout_minutes=15, pp_size=1, cp_size=1, cp_strategy='none', ulysses_overlap_degree=1, fp8_quant=False, distill_nearly_clean_chunk_threshold=0.3, shortcut_mode='8,16,16', distill=True, kv_offload=True, enable_cuda_graph=False)) [2026-05-20 12:25:23,106 - INFO] Precompute validation prompt embeddings You are using the default legacy behaviour of the . This is expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 KV cache compression is enabled. Processing 86 samples. [GPU 0] Assigned 86 samples [GPU 0] Loading model... [GPU 0] Model loaded. [GPU 0] Generating T2V: 'alley' -> /home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/outputs/vbench/videos/scene/alley-0.mp4 Loading checkpoint shards: 0%| | 0/2 [00:00 [ File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/video_generate.py", line 1129, in generate_per_chunk for _, _, chunk in sample_transport.walk(): File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/video_generate.py", line 1092, in walk clean_chunk, chunk_idx = self.integrate_velocity(work_status.infer_idx, work_status.cur_denoise_step) File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/flowcache.py", line 530, in flowcache_integrate_velocity _check_and_compress_kv(self, infer_idx, chunk_start, transport_input) File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/flowcache.py", line 570, in _check_and_compress_kv compressor.compress( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/cache/kv_compressor.py", line 158, in compress layer_result = self._compress_layer( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/cache/kv_compressor.py", line 251, in _compress_layer key_compressed, value_compressed, indices = kv_cluster.update_kv( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/kvcompress/kv_compressor.py", line 52, in update_kv return self.update_kv_token( File "/home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/inference/pipeline/kvcompress/kv_compressor.py", line 168, in update_kv_token raise ValueError(f"Unknown score weighting method: {self.score_weighting_method}") ValueError: Unknown score weighting method: None ✅ Completed: scene --- 🎉 All sampling tasks completed.