pytorch
649760e5 - `maybe_resize_storage_cuda` new_size argument should be unsigned (#52672)

Commit
3 years ago
`maybe_resize_storage_cuda` new_size argument should be unsigned (#52672) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/52672 This allows correct handling on a very large tensor allocations Also, replace AT_ERROR with TORCH_CHECK(false) Test Plan: Imported from OSS Reviewed By: walterddr Differential Revision: D26607547 Pulled By: malfet fbshipit-source-id: 247f7e8c59f76af3b95799afc9bc4ab4cc228739
Author
Parents
Loading