[ca] re-enable disabled tests (#143247)

FIXES https://github.com/pytorch/pytorch/issues/133197

The unspecified floats PR landed while this test was disabled, and it added an analysis restart which counts towards the backend call counter the test is using

Pull Request resolved: https://github.com/pytorch/pytorch/pull/143247
Approved by: https://github.com/zou3519
This commit is contained in:
Simon Fan 2024-12-13 16:38:19 -08:00 committed by PyTorch MergeBot
parent 4273e1a059
commit dd2d360b7d

View file

@ -2425,7 +2425,9 @@ TORCH_LIBRARY(test_autograd_cpp_node_saved_float, m) {
yield x.grad
# compiled autograd and dynamo both support symfloat, but not backend
self.check_output_and_recompiles(fn, [1, 3])
self.check_output_and_recompiles(fn, [1, 4])
# 1 restart analysis due to specialize_float=False
self.assertEqual(counters["stats"]["unique_graphs"], 3)
@scoped_load_inline
def test_autograd_cpp_node_data_dependent(self, load_inline):