Skip to content

Commit

Permalink
Update ONNX script
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Nov 22, 2024
1 parent 9fdd6c1 commit 1693ee4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tools/onnx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ install() {
;;
esac
${python} -m pip install --quiet "./third_party/source/onnx"
${python} -m pip install --quiet --upgrade ort-nightly --extra-index https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
${python} -m pip install --quiet --upgrade packaging flatbuffers protobuf numpy sympy
${python} -m pip install --quiet --upgrade onnxruntime --pre --extra-index https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
deactivate
}

Expand Down
2 changes: 1 addition & 1 deletion tools/pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ install() {
echo "pytorch install"
venv
${python} -m pip install --quiet --upgrade wheel
${python} -m pip install --quiet --upgrade --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
${python} -m pip install --quiet --upgrade torch torchvision torchaudio --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
deactivate
}
Expand Down
2 changes: 1 addition & 1 deletion tools/sklearn
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ install() {
echo "sklearn install"
venv
${python} -m pip install --quiet scipy
${python} -m pip install --quiet --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple scikit-learn
${python} -m pip install --quiet scikit-learn --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple
deactivate
}

Expand Down

0 comments on commit 1693ee4

Please sign in to comment.