Skip to content

Commit 9837cdc

Browse files
committed
testing 480p
1 parent 87c42dd commit 9837cdc

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

src/maxdiffusion/tests/wan_magcache_test.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ def setUpClass(cls):
7575
None,
7676
os.path.join(THIS_DIR, "..", "configs", "base_wan_14b.yml"),
7777
"num_inference_steps=50",
78-
"height=720",
79-
"width=1280",
78+
"height=480",
79+
"width=832",
8080
"num_frames=81",
8181
"seed=11234567893",
8282
"attention=flash",
@@ -148,8 +148,8 @@ def setUpClass(cls):
148148
None,
149149
os.path.join(THIS_DIR, "..", "configs", "base_wan_27b.yml"),
150150
"num_inference_steps=40",
151-
"height=720",
152-
"width=1280",
151+
"height=480",
152+
"width=832",
153153
"num_frames=81",
154154
"guidance_scale_low=3.0",
155155
"guidance_scale_high=4.0",
@@ -161,7 +161,7 @@ def setUpClass(cls):
161161
"skip_jax_distributed_system=True",
162162
"weights_dtype=bfloat16",
163163
"activations_dtype=bfloat16",
164-
"per_device_batch_size=0.125",
164+
"per_device_batch_size=0.25",
165165
"ici_data_parallelism=2",
166166
"ici_fsdp_parallelism=1",
167167
"ici_context_parallelism=4",
@@ -230,8 +230,9 @@ def setUpClass(cls):
230230
None,
231231
os.path.join(THIS_DIR, "..", "configs", "base_wan_i2v_14b.yml"),
232232
"num_inference_steps=50",
233-
"height=720",
234-
"width=1280",
233+
"height=480",
234+
"width=832",
235+
"pretrained_model_name_or_path=Wan-AI/Wan2.1-I2V-14B-480P-Diffusers",
235236
"num_frames=81",
236237
"seed=11234567893",
237238
"attention=flash",
@@ -308,8 +309,8 @@ def setUpClass(cls):
308309
None,
309310
os.path.join(THIS_DIR, "..", "configs", "base_wan_i2v_27b.yml"),
310311
"num_inference_steps=40",
311-
"height=720",
312-
"width=1280",
312+
"height=480",
313+
"width=832",
313314
"num_frames=81",
314315
"guidance_scale_low=3.0",
315316
"guidance_scale_high=4.0",
@@ -321,7 +322,7 @@ def setUpClass(cls):
321322
"skip_jax_distributed_system=True",
322323
"weights_dtype=bfloat16",
323324
"activations_dtype=bfloat16",
324-
"per_device_batch_size=0.125",
325+
"per_device_batch_size=0.25",
325326
"ici_data_parallelism=2",
326327
"ici_fsdp_parallelism=1",
327328
"ici_context_parallelism=4",

0 commit comments

Comments
 (0)