2021-09-16 20:16:40 -07:00
|
|
|
# These requirements are used for the CI and CPU-only Docker images so we install CPU only versions of torch.
|
2022-03-25 16:59:54 +01:00
|
|
|
# For GPU Docker images, you should install requirements_ml_docker.txt afterwards.
|
2021-09-16 20:16:40 -07:00
|
|
|
|
2022-03-25 16:59:54 +01:00
|
|
|
tensorflow==2.6.2
|
|
|
|
tensorflow-probability==0.14.1
|
2021-11-05 00:58:34 -07:00
|
|
|
|
2022-04-21 09:48:43 -07:00
|
|
|
# If you make changes to the torch versions below, please also make the corresponding changes to `requirements_ml_docker.txt`!
|
2021-09-16 20:16:40 -07:00
|
|
|
|
|
|
|
torch==1.9.0;sys_platform=="darwin"
|
|
|
|
torchvision==0.10.0;sys_platform=="darwin"
|
|
|
|
|
|
|
|
# On non-OSX machines only install CPU version of torch and torchvision
|
|
|
|
-f https://download.pytorch.org/whl/torch_stable.html
|
|
|
|
torch==1.9.0+cpu;sys_platform!="darwin"
|
2022-03-25 16:59:54 +01:00
|
|
|
torchvision==0.10.0+cpu;sys_platform!="darwin"
|