We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77f5f5 commit f250165Copy full SHA for f250165
tests/pipelines/qwenimage/test_qwenimage.py
@@ -260,14 +260,4 @@ def test_long_prompt_no_error(self):
260
}
261
262
# This should not raise a RuntimeError about tensor dimension mismatch
263
- try:
264
- output = pipe(**inputs)
265
- # Basic sanity check that we got reasonable output
266
- self.assertIsNotNone(output)
267
- self.assertIsNotNone(output[0])
268
- except RuntimeError as e:
269
- if "must match the size of tensor" in str(e):
270
- self.fail(f"Long prompt caused dimension mismatch error: {e}")
271
- else:
272
- # Re-raise other runtime errors that aren't related to our fix
273
- raise
+ _ = pipe(**inputs)
0 commit comments