Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Datasets] Fix Torch tensor memory leak test. (ray-project#31748)
Torch tensor memory leak test was suffering from a noisy neighbor issue, and was low signal due to not doing the base tensor allocation in the leak-tested code. This PR fixes this by doing explicit garbage collection before and after each leak-code run, and moving the base tensor allocation into the leak-code.
- Loading branch information