I am trying to create a requirements.txt to use pytorch but would like it to work on both GPU and non-GPU platforms.
I do something like on my Linux GPU system:
--find-links https://download.pytorch.org/whl/cu113/torch_stable.html
torch==1.10.2+cu113
torchvision==0.11.3+cu113
pytorch-lightning==1.5.10
This works fine and the packages are installed and I can use the GPU-enabled pytorch.
I wonder how I can modify this for the mac and non GPU users to install the non cuda package for torch and torchvision? Do I need to maintain separate requirements.txt files?
