Skip to content

Commit 2b0bca8

Browse files
committed
another change
1 parent 0851017 commit 2b0bca8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

windows/internal/smoke_test.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,12 @@ for /F "delims=" %%i in ('where /R "%PYTORCH_FINAL_PACKAGE_DIR:/=\%" *') do (
102102
)
103103
xcopy "%%i" %NO_ARCH_PATH% /Y
104104
)
105-
105+
if errorlevel 1 exit /b 1
106106
echo pytorch Version: %PYTORCH_VERSION%
107+
108+
call conda index %PYTORCH_FINAL_PACKAGE_DIR%
109+
if errorlevel 1 exit /b 1
110+
107111
call conda install -yq -c "file:///%PYTORCH_FINAL_PACKAGE_DIR%" pytorch==%PYTORCH_VERSION% -c pytorch -c numba/label/dev -c nvidia
108112
echo "after conda install"
109113
echo on

0 commit comments

Comments
 (0)