File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ set "PATH=%CD%\Python%PYTHON_VERSION%\Scripts;%CD%\Python;%PATH%"
51
51
pip install -q numpy protobuf " mkl>=2019"
52
52
if errorlevel 1 exit /b 1
53
53
54
- if " %TEST_NIGHTLY_PACKAGE % " == " 1" (
54
+ if " %PYTORCH_BUILD_VERSION % " == " 1" (
55
55
call internal\install_nightly_package.bat
56
56
if errorlevel 1 exit /b 1
57
57
) else (
@@ -106,7 +106,7 @@ set CUDA_VER_MAJOR=%CUDA_VERSION:~0,-1%
106
106
set CUDA_VER_MINOR = %CUDA_VERSION:~-1 ,1 %
107
107
set CUDA_VERSION_STR = %CUDA_VER_MAJOR% .%CUDA_VER_MINOR%
108
108
109
- if " %TEST_NIGHTLY_PACKAGE% " == " 1 " (
109
+ if NOT " %PYTORCH_BUILD_VERSION% " == " %PYTORCH_BUILD_VERSION: dev =% " (
110
110
call internal\install_nightly_package.bat
111
111
if errorlevel 1 exit /b 1
112
112
goto smoke_test
@@ -168,7 +168,7 @@ echo "install and test libtorch"
168
168
if " %VC_YEAR% " == " 2017" powershell internal\vs2017_install.ps1
169
169
if ERRORLEVEL 1 exit /b 1
170
170
171
- if " %TEST_NIGHTLY_PACKAGE% " == " 1 " (
171
+ if NOT " %PYTORCH_BUILD_VERSION% " == " %PYTORCH_BUILD_VERSION: dev =% " (
172
172
call internal\install_nightly_package.bat
173
173
if errorlevel 1 exit /b 1
174
174
) else (
You can’t perform that action at this time.
0 commit comments