Commit d0f9d12
committed
[ci]: lower MG3 SSIM test resolution + add L40S device fallback
Two related changes to fastvideo/tests/ssim/test_matrixgame3_similarity.py:
1. Lower MATRIXGAME3_PARAMS height/width from 720x1280 to 352x640
(matches MatrixGame 2.0 convention from MatrixGame2SamplingParam
defaults). MATRIXGAME3_FULL_QUALITY_PARAMS remains 720x1280 — it
derives from SamplingParam.from_pretrained and covers the
full-quality tier separately. Compute reduction: ~4x vs 720p
(352*640 / 720*1280 ≈ 0.24).
2. Add fallback_device_prefix='L40S' to resolve_device_reference_folder
so non-tabled GPUs (B200, etc) fall back to L40S references with a
clean warning instead of TypeError-crashing at build_generated_output_dir.
Matches the precedent in fastvideo/tests/ssim/test_sd35_similarity.py.
Together: brings the SSIM test within L40S CI runtime budget AND makes
it runnable locally on B200 dev boxes before the HF reference is seeded.
Followup to PR #1201 review:
#1201 (comment)1 parent f63cef0 commit d0f9d12
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments