Skip the sigma-gather test when diffusers is not installed
CI runs the backend suite without diffusers; the test checks our index math against the scheduler's own gather, so it skips rather than fails there.
This commit is contained in:
parent
285c8fbd20
commit
f1007fb466
1 changed files with 3 additions and 0 deletions
|
|
@ -130,6 +130,9 @@ def test_zimage_collate_list():
|
|||
|
||||
# ── index-based sigma gather ──────────────────────────────────────────────────
|
||||
def test_gather_sigmas_matches_search_based_gather():
|
||||
# CI installs the backend test deps without diffusers; the scheduler math is what we
|
||||
# are checking, so skip rather than fail there.
|
||||
pytest.importorskip("diffusers")
|
||||
from diffusers import FlowMatchEulerDiscreteScheduler
|
||||
|
||||
torch.manual_seed(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue