diff --git a/windows/internal/smoke_test.bat b/windows/internal/smoke_test.bat index 8681dfdf07..c9f74d5943 100644 --- a/windows/internal/smoke_test.bat +++ b/windows/internal/smoke_test.bat @@ -92,13 +92,13 @@ if errorlevel 1 exit /b 1 call %CONDA_HOME%\condabin\activate.bat testenv if errorlevel 1 exit /b 1 set "NO_ARCH_PATH=%PYTORCH_FINAL_PACKAGE_DIR:/=\%\noarch" - +@echo on mkdir %NO_ARCH_PATH% for /F "delims=" %%i in ('where /R "%PYTORCH_FINAL_PACKAGE_DIR:/=\%" *.tar.bz2') do xcopy "%%i" %NO_ARCH_PATH% /Y if ERRORLEVEL 1 exit /b 1 call conda index %PYTORCH_FINAL_PACKAGE_DIR% if errorlevel 1 exit /b 1 -call conda install -y -c -q "file:///%PYTORCH_FINAL_PACKAGE_DIR%" pytorch==%PYTORCH_BUILD_VERSION% -c pytorch -c numba/label/dev -c pytorch-nightly -c nvidia +call conda install -yq -c "file:///%PYTORCH_FINAL_PACKAGE_DIR%" pytorch==%PYTORCH_BUILD_VERSION% -c pytorch -c numba/label/dev -c pytorch-nightly -c nvidia if ERRORLEVEL 1 exit /b 1