We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 176bb1b commit a91ad9fCopy full SHA for a91ad9f
tests/pipelines/test_pipelines_common.py
@@ -1298,6 +1298,9 @@ def _test_inference_batch_single_identical(
1298
additional_params_copy_to_batched_inputs=["num_inference_steps"],
1299
):
1300
components = self.get_dummy_components()
1301
+ for key in components:
1302
+ if "text_encoder" in key and hasattr(components[key], "eval"):
1303
+ components[key].eval()
1304
pipe = self.pipeline_class(**components)
1305
for components in pipe.components.values():
1306
if hasattr(components, "set_default_attn_processor"):
0 commit comments