From b684423fc4cf40a8b9a8b3e2ffdcb50bba2b4960 Mon Sep 17 00:00:00 2001 From: Victor Kuznetsov Date: Sun, 30 Aug 2026 16:45:05 -0700 Subject: [PATCH] Skip chroma call-shape test when diffusers is absent on CI --- tests/test_qwen_zimage_pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_qwen_zimage_pipeline.py b/tests/test_qwen_zimage_pipeline.py index e331b4c..0ebe399 100644 --- a/tests/test_qwen_zimage_pipeline.py +++ b/tests/test_qwen_zimage_pipeline.py @@ -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 (