Skip chroma call-shape test when diffusers is absent on CI

This commit is contained in:
Victor Kuznetsov committed 2026-08-30 16:45:05 -07:00
1 parent 16bc9879e9
commit b684423fc4
1 file changed
+2 -1
+2 -1
View File
@@ -1068,7 +1068,8 @@ def test_chroma_global_stage_calls_diffusers_with_the_calibrated_shape(monkeypat
"""The calibrated call shape must not drift: prompt, guidance, width/height
on the /16 grid, effective-step count, and no Canny conditioning. A silent
parameter change moves the oracle floors without any test seeing it."""
import diffusers
# CI's base job installs the library without the qwen-zimage extra.
diffusers = pytest.importorskip("diffusers")
import torch
from remove_ai_watermarks._internal.chroma_zimage_pipeline import (