Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prune cuda installation for docker image (#2232)
Summary: The [`install_cuda.sh`](https://github.com/pytorch/builder/blob/main/common/install_cuda.sh#L126) in pytorch/builder provides functions `prune_121` and `prune_118` to remove unnecessary parts in the installed CUDA. In my local testing, the image size generated by this docker file is reduced from 23.5GB to 19.7GB. Pull Request resolved: #2232 Reviewed By: aaronenyeshi Differential Revision: D56219144 Pulled By: xuzhao9 fbshipit-source-id: 8fae4e8da2f738e8dc12e564b1c518bfd9c0b109
- Loading branch information