Skip to content

Commit 247f5e1

Browse files
committed
[NVBUG 6401921][fix] stabilize single-GPU Wan LPIPS test
Signed-off-by: Chang Liu <9713593+chang-l@users.noreply.github.com>
1 parent 920a50a commit 247f5e1

4 files changed

Lines changed: 21 additions & 19 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:f5ec590f2d76a2a189575e48416bc8609bcadfac6b2d041a094835846a698937
3-
size 14374170
2+
oid sha256:86c944b4a0db7b35a35e88b35ac094d22f29305ca380d382c6f9e9e4c23124aa
3+
size 14392303

tests/integration/defs/examples/visual_gen/golden/visual_gen_lpips/wan22_t2v_lpips_golden_video.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"lpips_net": "alex",
1717
"lpips_threshold": 0.05,
1818
"diffusers_version": "0.38.0",
19-
"tensorrt_llm_version": "1.3.0rc20",
20-
"tensorrt_llm_commit": "85665f5fd331d0154a78172954846d843085e83f",
21-
"container_image": "urm.nvidia.com/sw-tensorrt-docker/tensorrt-llm-staging/release@sha256:3308a2dc0192a8329ea02eca7b5c44f290f5e894cd8c5921099308d84c3e5691"
19+
"torch_version": "2.12.0a0+0291f960b6.nv26.04.48445190",
20+
"tensorrt_llm_version": "1.3.0rc21",
21+
"tensorrt_llm_commit": "539ee226c4df7ab15802911083fe501e9d64c66e",
22+
"container_image": "urm.nvidia.com/sw-tensorrt-docker/tensorrt-llm@sha256:dad31c0b5290d836033c96d8b91f6524bdc7cc5b4d1000b4abcc57c6868ffdc0"
2223
}

tests/integration/defs/examples/visual_gen/test_visual_gen.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -697,19 +697,21 @@ def wan22_bf16_video_path(_visual_gen_deps, llm_venv):
697697
output_path = _visual_gen_output_path(llm_venv, "wan22_bf16")
698698
if os.path.isfile(output_path):
699699
return output_path
700-
_generate_wan_lpips_video(
701-
_lpips_model_path("Wan2.2-T2V-A14B-Diffusers"),
702-
output_path,
703-
WAN22_LPIPS_PROMPT,
704-
WAN22_LPIPS_NEGATIVE_PROMPT,
705-
WAN22_LPIPS_HEIGHT,
706-
WAN22_LPIPS_WIDTH,
707-
WAN22_LPIPS_NUM_FRAMES,
708-
WAN22_LPIPS_NUM_INFERENCE_STEPS,
709-
WAN22_LPIPS_GUIDANCE_SCALE,
710-
WAN22_LPIPS_SEED,
711-
WAN22_LPIPS_FRAME_RATE,
712-
)
700+
# TorchCompileConfig(enable=False) does not suppress nested @torch.compile decorators.
701+
with torch.compiler.set_stance("force_eager"):
702+
_generate_wan_lpips_video(
703+
_lpips_model_path("Wan2.2-T2V-A14B-Diffusers"),
704+
output_path,
705+
WAN22_LPIPS_PROMPT,
706+
WAN22_LPIPS_NEGATIVE_PROMPT,
707+
WAN22_LPIPS_HEIGHT,
708+
WAN22_LPIPS_WIDTH,
709+
WAN22_LPIPS_NUM_FRAMES,
710+
WAN22_LPIPS_NUM_INFERENCE_STEPS,
711+
WAN22_LPIPS_GUIDANCE_SCALE,
712+
WAN22_LPIPS_SEED,
713+
WAN22_LPIPS_FRAME_RATE,
714+
)
713715
return output_path
714716

715717

tests/integration/test_lists/waives.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ examples/test_nemotron_nas.py::test_nemotron_nas_summary_2gpu[DeciLM-7B] SKIP (h
147147
examples/test_qwen2audio.py::test_llm_qwen2audio_single_gpu[qwen2_audio_7b_instruct] SKIP (https://nvbugs/5447530)
148148
examples/test_ray.py::test_ray_disaggregated_serving[tp2] SKIP (https://nvbugs/5612502)
149149
examples/test_whisper.py::test_llm_whisper_general[large-v3-disable_gemm_plugin-disable_attention_plugin-disable_weight_only-float16-nb:1-use_python_runtime] SKIP (https://nvbugs/5244570)
150-
examples/visual_gen/test_visual_gen.py::test_wan22_t2v_lpips_against_golden SKIP (https://nvbugs/6401921)
151150
examples/visual_gen/test_visual_gen_multi_gpu.py::test_wan22_t2v_lpips_against_golden_multi_gpu[attn2d_2x2] SKIP (https://nvbugs/6272644)
152151
examples/visual_gen/test_visual_gen_multi_gpu.py::test_wan22_t2v_lpips_against_golden_multi_gpu[cfg2_ulysses2] SKIP (https://nvbugs/6272644)
153152
examples/visual_gen/test_visual_gen_multi_gpu.py::test_wan22_t2v_lpips_against_golden_multi_gpu[cfg2_ulysses2_attn2d_2x1] SKIP (https://nvbugs/6272644)

0 commit comments

Comments
 (0)