File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ PLATFORM=$(python -c "import sys; print(sys.platform)")
66
77# Install all the dependencies required for Torch-TensorRT
88pip install --pre ${TORCH_TORCHVISION} --index-url ${INDEX_URL}
9- pip install --pre -r ${PWD} /tests/py/requirements.txt --use-deprecated legacy-resolver
9+ pip install --pre -r ${PWD} /tests/py/requirements.txt
1010
1111# Install Torch-TensorRT
1212if [[ ${PLATFORM} == win32 ]]; then
Original file line number Diff line number Diff line change 1- REM Source: https://github.com/pytorch/builder/blob/4e109742d88ff3c85e77d60bc4d90d229d7f6afe/windows/internal/driver_update.bat
2-
3- set " DRIVER_DOWNLOAD_LINK = https://ossci-windows.s3.amazonaws.com/528.89-data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe"
4- curl --retry 3 -kL %DRIVER_DOWNLOAD_LINK% --output 528.89-data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe
1+ set WIN_DRIVER_VN = 528.89
2+ set " DRIVER_DOWNLOAD_LINK = https://ossci-windows.s3.amazonaws.com/%WIN_DRIVER_VN% -data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe"
3+ curl --retry 3 -kL %DRIVER_DOWNLOAD_LINK% --output %WIN_DRIVER_VN% -data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe
54if errorlevel 1 exit /b 1
65
7- start /wait 528.89 -data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe -s -noreboot
6+ start /wait %WIN_DRIVER_VN% -data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe -s -noreboot
87if errorlevel 1 exit /b 1
98
10- del 528.89 -data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe || ver > NUL
9+ del %WIN_DRIVER_VN% -data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe || ver > NUL
You can’t perform that action at this time.
0 commit comments