File size: 11,463 Bytes
153dd42 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | π 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:42:27.778130826 CUDAAllocatorConfig.h:28] Warning: expandable_segments not supported on this platform (function operator())
[2026-05-20 12:42:27,333 - INFO] Initialize torch distribution and model parallel successfully
[2026-05-20 12:42:27,333 - 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:42:27,333 - INFO] Precompute validation prompt embeddings
You are using the default legacy behaviour of the <class 'transformers.models.t5.tokenization_t5.T5Tokenizer'>. 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<?, ?it/s]
Loading checkpoint shards: 50%|βββββ | 1/2 [00:08<00:08, 8.19s/it]
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:16<00:00, 8.33s/it]
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:16<00:00, 8.31s/it]
[2026-05-20 12:42:45,676 - INFO] (cp, pp) rank (0, 0): param count 4459898128, model size 8.34 GB
[2026-05-20 12:42:45,676 - INFO] Build DiTModel successfully
[2026-05-20 12:42:45,676 - INFO] After build_dit_model, memory allocated: 0.04 GB, memory reserved: 0.08 GB
[2026-05-20 12:42:45,676 - INFO] load inference_weight.distill weight from ./downloads/4.5B_distill/inference_weight.distill
Loading shards: 0%| | 0/2 [00:00<?, ?it/s]
Loading shards: 100%|ββββββββββ| 2/2 [00:00<00:00, 152.33it/s]
[2026-05-20 12:42:47,225 - INFO] Load Weight Missing Keys: []
[2026-05-20 12:42:47,225 - INFO] Load Weight Unexpected Keys: []
[2026-05-20 12:42:47,431 - INFO] After load_checkpoint, memory allocated: 8.39 GB, memory reserved: 8.40 GB
[2026-05-20 12:42:47,434 - INFO] After high_precision_promoter, memory allocated: 8.39 GB, memory reserved: 8.40 GB
[2026-05-20 12:42:47,535 - INFO] Load checkpoint successfully
[2026-05-20 12:42:47,535 - INFO] Begin to generate per chunk
[2026-05-20 12:42:47,535 - INFO] special_token = ['HQ_TOKEN', 'DURATION_TOKEN']
InferBatch 0: 0%| | 0/10 [00:00<?, ?it/s][2026-05-20 12:42:47,581 - INFO] transport_inputs len: 1
InferBatch 0: 10%|β | 1/10 [00:44<06:36, 44.07s/it]
InferBatch 0: 20%|ββ | 2/10 [01:43<07:05, 53.16s/it]
InferBatch 0: 30%|βββ | 3/10 [02:17<05:11, 44.47s/it]
InferBatch 0: 40%|ββββ | 4/10 [02:51<04:02, 40.40s/it]
InferBatch 0: 50%|βββββ | 5/10 [03:25<03:10, 38.01s/it]
InferBatch 0: 60%|ββββββ | 6/10 [03:59<02:26, 36.69s/it]
InferBatch 0: 70%|βββββββ | 7/10 [04:25<01:38, 32.95s/it]
InferBatch 0: 80%|ββββββββ | 8/10 [04:45<00:57, 28.96s/it]
InferBatch 0: 90%|βββββββββ | 9/10 [05:00<00:24, 24.59s/it]
InferBatch 0: 100%|ββββββββββ| 10/10 [05:09<00:00, 19.69s/it]
InferBatch 0: 100%|ββββββββββ| 10/10 [05:10<00:00, 31.08s/it]
[2026-05-20 12:48:01,557 - INFO] Finish MagiPipeline, max memory allocated: 44.77 GB, max memory reserved: 56.32 GB
[2026-05-20 12:48:01,557 - INFO] Precompute validation prompt embeddings
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
Using no weighting method
β
Video saved successfully.
[DONE GPU 0] Saved: /home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/outputs/vbench/videos/overall_consistency/Close up of grapes on a rotating table.-0.mp4
[GPU 0] Generating T2V: 'Turtle swimming in ocean.' -> /home/dyvm6xra/dyvm6xrauser11/workspace/cz/FlowCache/FlowCache4MAGI-1/outputs/vbench/videos/overall_consistency/Turtle swimming in ocean.-0.mp4
Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
Loading checkpoint shards: 50%|βββββ | 1/2 [00:07<00:07, 7.53s/it]
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:15<00:00, 7.88s/it]
Loading checkpoint shards: 100%|ββββββββββ| 2/2 [00:15<00:00, 7.83s/it]
[2026-05-20 12:48:18,152 - INFO] (cp, pp) rank (0, 0): param count 4459898128, model size 8.34 GB
[2026-05-20 12:48:18,152 - INFO] Build DiTModel successfully
[2026-05-20 12:48:18,152 - INFO] After build_dit_model, memory allocated: 0.17 GB, memory reserved: 0.31 GB
[2026-05-20 12:48:18,152 - INFO] load inference_weight.distill weight from ./downloads/4.5B_distill/inference_weight.distill
Loading shards: 0%| | 0/2 [00:00<?, ?it/s]
Loading shards: 100%|ββββββββββ| 2/2 [00:00<00:00, 148.21it/s]
[2026-05-20 12:48:19,731 - INFO] Load Weight Missing Keys: []
[2026-05-20 12:48:19,731 - INFO] Load Weight Unexpected Keys: []
[2026-05-20 12:48:19,940 - INFO] After load_checkpoint, memory allocated: 8.52 GB, memory reserved: 8.56 GB
[2026-05-20 12:48:19,943 - INFO] After high_precision_promoter, memory allocated: 8.52 GB, memory reserved: 8.56 GB
[2026-05-20 12:48:20,393 - INFO] Load checkpoint successfully
[2026-05-20 12:48:20,393 - INFO] Begin to generate per chunk
[2026-05-20 12:48:20,394 - INFO] special_token = ['HQ_TOKEN', 'DURATION_TOKEN']
InferBatch 0: 0%| | 0/10 [00:00<?, ?it/s][2026-05-20 12:48:20,402 - INFO] transport_inputs len: 1
[2026-05-20 12:48:20,402 - INFO]
Time Elapsed: [0:05:32.819959] From [begin_walk (2026-05-20 12:42:47.582387)] To [begin_walk (2026-05-20 12:48:20.402346)]
InferBatch 0: 10%|β | 1/10 [00:38<05:44, 38.28s/it]
InferBatch 0: 20%|ββ | 2/10 [01:00<03:48, 28.55s/it] |