File tree 3 files changed +3
-12
lines changed 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,5 @@ if errorlevel 1 exit /b 1
5
5
call windows/internal/cuda_install.bat
6
6
if errorlevel 1 exit /b 1
7
7
8
- call windows/internal/nightly_defaults.bat Conda
9
- if errorlevel 1 exit /b 1
10
-
11
- set PYTORCH_FINAL_PACKAGE_DIR = %CD% \windows\output
12
- if not exist " %PYTORCH_FINAL_PACKAGE_DIR% " mkdir %PYTORCH_FINAL_PACKAGE_DIR%
13
-
14
8
bash ./conda/build_pytorch.sh %CUDA_VERSION% %PYTORCH_BUILD_VERSION% %PYTORCH_BUILD_NUMBER%
15
9
if errorlevel 1 exit /b 1
Original file line number Diff line number Diff line change @@ -5,8 +5,5 @@ if errorlevel 1 exit /b 1
5
5
call windows/internal/cuda_install.bat
6
6
if errorlevel 1 exit /b 1
7
7
8
- call windows/internal/nightly_defaults.bat Wheels
9
- if errorlevel 1 exit /b 1
10
-
11
8
call windows/build_pytorch.bat %CUDA_VERSION% %PYTORCH_BUILD_VERSION% %PYTORCH_BUILD_NUMBER%
12
9
if errorlevel 1 exit /b 1
Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ IF "%DEBUG%" == "" (
75
75
7z a -tzip " %LIBTORCH_PREFIX% -%PYTORCH_BUILD_VERSION% .zip" libtorch\*
76
76
77
77
if not exist ..\output mkdir ..\output
78
- copy /Y " %LIBTORCH_PREFIX% -%PYTORCH_BUILD_VERSION% .zip" ..\output\
79
- copy /Y " %LIBTORCH_PREFIX% -%PYTORCH_BUILD_VERSION% .zip" ..\output\ %LIBTORCH_PREFIX% -latest.zip
78
+ copy /Y " %LIBTORCH_PREFIX% -%PYTORCH_BUILD_VERSION% .zip" " %PYTORCH_FINAL_PACKAGE_DIR% \ "
79
+ copy /Y " %LIBTORCH_PREFIX% -%PYTORCH_BUILD_VERSION% .zip" " %PYTORCH_FINAL_PACKAGE_DIR% \ %LIBTORCH_PREFIX% -latest.zip"
80
80
81
81
goto build_end
82
82
83
83
:pytorch
84
84
:: This stores in e.g. D:/_work/1/s/windows/output/cpu
85
- pip wheel -vvv -e . --no-deps --wheel-dir ../output
85
+ pip wheel -vvv -e . --no-deps --wheel-dir " %PYTORCH_FINAL_PACKAGE_DIR% "
86
86
87
87
:build_end
88
88
IF ERRORLEVEL 1 exit /b 1
You can’t perform that action at this time.
0 commit comments