瀏覽代碼

Update PyTorch script

Lutz Roeder 3 月之前
父節點
當前提交
df0df1fb52
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/pytorch

+ 1 - 1
tools/pytorch

@@ -44,7 +44,7 @@ sync() {
 install() {
 install() {
     echo "pytorch install"
     echo "pytorch install"
     venv
     venv
-    ${python} -m pip install --quiet --upgrade wheel
+    ${python} -m pip install --quiet --upgrade wheel psutil
     ${python} -m pip install --quiet --upgrade torch torchvision torchaudio torchao --pre --index-url https://download.pytorch.org/whl/nightly/cpu
     ${python} -m pip install --quiet --upgrade torch torchvision torchaudio torchao --pre --index-url https://download.pytorch.org/whl/nightly/cpu
     # ${python} -m pip install --quiet --upgrade torch-neuron --index-url https://pip.repos.neuron.amazonaws.com
     # ${python} -m pip install --quiet --upgrade torch-neuron --index-url https://pip.repos.neuron.amazonaws.com
     deactivate
     deactivate