You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# force a pytorch/mkl version, because pytorch 1.10.2+ depends on mkl 2022 which is incompatible with Rosetta 2 in M1 macs, and update cffi 1.15.0-py39hc55c11b_1 to 1.15.0-py39he338e87_0+ to avoid paramiko error
if (sys.platform.startswith('win') orsys.platform.startswith('linux')) andnotargs.gpu:
28
+
conda_install+=" cpuonly"
29
+
ifsys.platform.startswith('darwin'):
30
+
conda_install+=" cffi"
31
+
32
+
ifargs.package:
33
+
ifargs.base:
34
+
conda_install+=" "
35
+
conda_install+=" ".join(args.package[0])
39
36
40
-
print("Downloading and installing PyTorch and additional packages:")
37
+
print("Downloading and installing conda packages:")
41
38
print(conda_install)
42
39
print("")
43
40
44
-
# channels: pytorch for pytorch torchvision torchaudio, nvidia for cudatoolkit=11.1 on Linux, huggingface for datasets(+huggingface_hub), conda-forge for everything else except anaconda for python-graphviz
0 commit comments