mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[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:
parent
4273e1a059
commit
dd2d360b7d
1 changed files with 3 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue