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 661673b commit 5003335Copy full SHA for 5003335
_unittests/ut_torch_export_patches/test_patch_module.py
@@ -355,7 +355,7 @@ def test_rewrite_PLBartEncoderLayer(self):
355
rewritten = transform_method(PLBartEncoderLayer.forward, verbose=self.verbose)
356
self.assertIn(
357
(
358
- "hidden_states, = torch.cond(hidden_states.dtype == torch.float16 and "
+ "torch.cond(hidden_states.dtype == torch.float16 and "
359
"(torch.isinf(hidden_states).any() or torch.isnan(hidden_states).any()), "
360
"branch_cond_then_1, branch_cond_else_1, [hidden_states])"
361
),
0 commit comments