Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Envar for Setting Pytorch Expandable Segments (#584)
**Reason for Change**: Setting `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True` allows PyTorch Memory Allocator to mark memory blocks as expandable for reduced peak GPU memory usage. --------- Signed-off-by: Ishaan Sehgal <ishaanforthewin@gmail.com>
- Loading branch information