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 4b48134 commit 09c8b23Copy full SHA for 09c8b23
test/dynamo/test_dynamo.py
@@ -641,10 +641,7 @@ def test_all_cpu_tensor(self):
641
# there should be 18 paramters + 1 input
642
self.assertGreater(len(w), 15)
643
self.assertIn('Found tensor with shape torch.Size', str(w[0].message))
644
- # no XLA operation should happens except a empty mark_step. Partitioner should offload all CPU
645
- # ops to CPU.
646
- self.assertEqual(len(met.counter_names()), 1)
647
- self.assertIn('MarkStep', met.counter_names())
+ self.assertLessEqual(len(met.counter_names()), 1)
648
649
650
class DynamoOperationsTests(test_utils.XlaTestCase):
0 commit comments