Skip to content

trunk/cfe2e6a46552f5c5eb584b2b2732269a43aa8b08

@gtnv gtnv tagged this 16 Aug 03:18
ShapeEnv.tracked_fakes can hold CUDA tensors after compile. this clears it and removes the leak-check skip from the currenet regression

Testing:
- PYTORCH_TEST_CUDA_MEM_LEAK_CHECK=1 python test/dynamo/test_misc.py MiscTestsDeviceCUDA.test_interpolate_propagate_real_tensors_cuda
  - passed

Closes #190093

Pull Request resolved: https://github.com/pytorch/pytorch/pull/193015
Approved by: https://github.com/jansel
Assets 2
Loading