-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reducing space of the CPU docker image (#11807)
* Install CPU only version of torch, as there is no need to install cuDNN and CUDA * Install CPU only version of torch, as there is no need to install cuDNN and CUDA * Install CPU only version of torch There is no need to install cuDNN and CUDA. * Update Dockerfile * Updated torch installation to install CPU only * Updated torch installation to install CPU only * Install CPU-only torch * Updated torch installation Install CPU-only wheel * Pinned torch to latest * Unpinned versions of torch CPU * Unpinned versions of torch CPU * Updated Dockerfile Co-authored-by: Deeptendu Santra <[email protected]> * Remove nvidia-ml-py library * Delete requirements_cpu.txt * Added `optional_cpu.txt` * Updated `optional_cpu.txt`'s comments * Delete optional_cpu.txt * Install only cpu speific variant libraries * Minor change in Dockerfile * Reverted back * Defaulted to CPU-based libraries * test with optional_gpu * remove optional_gpu --------- Co-authored-by: Abhimanyu <[email protected]> Co-authored-by: Deeptendu Santra <[email protected]> Co-authored-by: Deeptendu Santra <[email protected]>
- Loading branch information
1 parent
b715ecf
commit 6bf58a3
Showing
4 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
h5py # unpinned | ||
pytest # unpinned | ||
networkx # unpinned | ||
hypothesis # unpinned | ||
pymongo # unpinned | ||
redis # unpinned | ||
matplotlib # unpinned | ||
opencv-python # unpinned , mod_name=cv2 | ||
jax # unpinned, we test for latest version now | ||
jaxlib # unpinned, we test for latest version now | ||
tensorflow # unpinned, we test for latest version now | ||
tensorflow-addons # unpinned, we test for latest version now, mod_name=tensorflow_addons | ||
tensorflow-probability # unpinned, we test for latest version now, mod_name=tensorflow_probability | ||
torch # unpinned, we test for latest version now | ||
torch-scatter # unpinned, mod_name=torch_scatter | ||
functorch # unpinned, we test for latest version now | ||
scipy # unpinned | ||
dm-haiku # unpinned mod_name=haiku | ||
pydriller | ||
tqdm | ||
coverage |