Skip to content

Commit 512044c

Browse files
committed
update
1 parent 6c85fcd commit 512044c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tests/modular_pipelines/stable_diffusion_xl/test_modular_pipeline_stable_diffusion_xl.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,9 @@ def test_pipeline_inputs_and_blocks(self):
117117

118118
_ = blocks.sub_blocks.pop("ip_adapter")
119119
parameters = blocks.input_names
120-
intermediate_parameters = blocks.intermediate_input_names
121120
assert "ip_adapter_image" not in parameters, (
122121
"`ip_adapter_image` argument must be removed from the `__call__` method"
123122
)
124-
assert "ip_adapter_image_embeds" not in intermediate_parameters, (
125-
"`ip_adapter_image_embeds` argument must be supported by the `__call__` method"
126-
)
127123

128124
def _get_dummy_image_embeds(self, cross_attention_dim: int = 32):
129125
return torch.randn((1, 1, cross_attention_dim), device=torch_device)

tests/modular_pipelines/test_modular_pipelines_common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def tearDown(self):
139139
def test_pipeline_call_signature(self):
140140
pipe = self.get_pipeline()
141141
input_parameters = pipe.blocks.input_names
142-
intermediate_parameters = pipe.blocks.intermediate_input_names
143142
optional_parameters = pipe.default_call_parameters
144143

145144
def _check_for_parameters(parameters, expected_parameters, param_type):
@@ -149,7 +148,6 @@ def _check_for_parameters(parameters, expected_parameters, param_type):
149148
)
150149

151150
_check_for_parameters(self.params, input_parameters, "input")
152-
_check_for_parameters(self.intermediate_params, intermediate_parameters, "intermediate")
153151
_check_for_parameters(self.optional_params, optional_parameters, "optional")
154152

155153
def test_inference_batch_consistent(self, batch_sizes=[2], batch_generator=True):

0 commit comments

Comments
 (0)