Skip to content

Commit f581dff

Browse files
Update Windows Arm64 image (#6865)
Use the latest Windows arm64 image, that comes with visual studio installed.
1 parent 2baa712 commit f581dff

File tree

3 files changed

+3
-50
lines changed

3 files changed

+3
-50
lines changed

.github/scripts/winarm64/bootstrap_buildtools.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/build_wheels_windows.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,6 @@ jobs:
159159
with:
160160
python-version: ${{ matrix.python_version }}
161161
architecture: arm64
162-
- name: Bootstrap Build Tools
163-
if: inputs.architecture == 'arm64'
164-
env:
165-
DOWNLOADS_DIR: c:\temp\downloads\
166-
DEPENDENCIES_DIR: c:\temp\dependencies\
167-
SCRIPTS_DIR: test-infra\\.github\\scripts\\winarm64
168-
run: |
169-
"${{ env.SCRIPTS_DIR }}\bootstrap_buildtools.sh"
170162
- name: Install torch dependency
171163
if: inputs.architecture == 'x64'
172164
run: |
@@ -192,7 +184,7 @@ jobs:
192184
PRE_SCRIPT: ${{ inputs.pre-script }}
193185
shell: cmd
194186
run: |
195-
set VS_PATH=%DEPENDENCIES_DIR%\VSBuildTools\VC\Auxiliary\Build\vcvarsall.bat
187+
set VS_PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
196188
set GIT_BASH=%DEPENDENCIES_DIR%\git\usr\bin\bash.exe
197189
198190
cd %SRC_DIR%
@@ -264,7 +256,7 @@ jobs:
264256
set CONDA_PREFIX=%DEPENDENCIES_DIR%
265257
set PATH=%PATH%;%DEPENDENCIES_DIR%\Library\bin
266258
set DISTUTILS_USE_SDK=1
267-
set VS_PATH=%DEPENDENCIES_DIR%\VSBuildTools\VC\Auxiliary\Build\vcvarsall.bat
259+
set VS_PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
268260
269261
call "%VS_PATH%" arm64
270262
cd %SRC_DIR%

tools/scripts/generate_binary_build_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
LINUX_AARCH64_GPU_RUNNER = "linux.arm64.m7g.4xlarge"
9696
WIN_GPU_RUNNER = "windows.g4dn.xlarge"
9797
WIN_CPU_RUNNER = "windows.4xlarge"
98-
WIN_ARM64_RUNNER = "windows-11-arm64"
98+
WIN_ARM64_RUNNER = "windows-11-arm64-preview"
9999
MACOS_M1_RUNNER = "macos-m1-stable"
100100

101101
PACKAGES_TO_INSTALL_WHL = "torch torchvision torchaudio"

0 commit comments

Comments
 (0)