Skip to content

Commit

Permalink
Install different packages depending on platform
Browse files Browse the repository at this point in the history
Don't install cuda packages on Macs.
  • Loading branch information
jsilter committed Nov 29, 2023
1 parent b0cf1dc commit c2c17ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ python_requires = >=3.8
install_requires =
importlib-metadata; python_version>="3.8"
numpy==1.24.1
torch==1.11.0+cu113
torchvision==0.12.0+cu113
torch==1.11.0+cu113; sys_platform != "darwin"
torch==1.11.0; sys_platform == "darwin"
torchvision==0.12.0+cu113; sys_platform != "darwin"
torchvision==0.12.0; sys_platform == "darwin"
pytorch_lightning==1.5.6
scikit-learn==1.0.2
tqdm==4.62.3
Expand Down

0 comments on commit c2c17ca

Please sign in to comment.