mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-31 23:27:43 +00:00
Fix version of torch and torchvision in install_deps.sh. (#4316)
This commit is contained in:
parent
15cb4b3023
commit
4e39fda06a
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ if [ $DEVICE_TYPE = "Normal" ]; then
|
|||
elif [ $DEVICE_TYPE = "gpu" ]; then
|
||||
${PYTHON_EXE} -m pip install sympy==1.1.1
|
||||
if [[ $BUILD_EXTR_PAR = *--enable_training* ]]; then
|
||||
${PYTHON_EXE} -m pip install --upgrade --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
|
||||
${PYTHON_EXE} -m pip install --upgrade --pre torch==1.6.0.dev20200610 torchvision==0.7.0.dev20200610 -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
|
||||
${PYTHON_EXE} -m pip install transformers==v2.10.0
|
||||
# transformers requires sklearn
|
||||
${PYTHON_EXE} -m pip install sklearn
|
||||
|
|
|
|||
Loading…
Reference in a new issue