Skip to content

Commit c162c75

Browse files
authored
Windows conda test. Install numpy in conda testenv (#1685)
1 parent e6c5142 commit c162c75

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

windows/internal/smoke_test.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ set "PATH=%CONDA_HOME%;%CONDA_HOME%\scripts;%CONDA_HOME%\Library\bin;%PATH%"
8787

8888
conda create -qyn testenv python=%DESIRED_PYTHON%
8989
if errorlevel 1 exit /b 1
90-
call conda install -yq conda-build numpy
90+
call conda install -yq conda-build
9191
if errorlevel 1 exit /b 1
9292
call %CONDA_HOME%\condabin\activate.bat testenv
9393
if errorlevel 1 exit /b 1
@@ -98,7 +98,8 @@ if ERRORLEVEL 1 exit /b 1
9898
call conda index %PYTORCH_FINAL_PACKAGE_DIR%
9999
if errorlevel 1 exit /b 1
100100
call conda install -yq -c "file:///%PYTORCH_FINAL_PACKAGE_DIR%" pytorch==%PYTORCH_BUILD_VERSION% -c pytorch -c numba/label/dev -c nvidia
101-
101+
if ERRORLEVEL 1 exit /b 1
102+
call conda install -yq numpy
102103
if ERRORLEVEL 1 exit /b 1
103104

104105
set /a CUDA_VER=%CUDA_VERSION%

0 commit comments

Comments
 (0)