Skip to content

Update Windows Arm64 image #6865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/scripts/winarm64/bootstrap_buildtools.sh

This file was deleted.

12 changes: 2 additions & 10 deletions .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,6 @@ jobs:
with:
python-version: ${{ matrix.python_version }}
architecture: arm64
- name: Bootstrap Build Tools
if: inputs.architecture == 'arm64'
env:
DOWNLOADS_DIR: c:\temp\downloads\
DEPENDENCIES_DIR: c:\temp\dependencies\
SCRIPTS_DIR: test-infra\\.github\\scripts\\winarm64
run: |
"${{ env.SCRIPTS_DIR }}\bootstrap_buildtools.sh"
- name: Install torch dependency
if: inputs.architecture == 'x64'
run: |
Expand All @@ -192,7 +184,7 @@ jobs:
PRE_SCRIPT: ${{ inputs.pre-script }}
shell: cmd
run: |
set VS_PATH=%DEPENDENCIES_DIR%\VSBuildTools\VC\Auxiliary\Build\vcvarsall.bat
set VS_PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
set GIT_BASH=%DEPENDENCIES_DIR%\git\usr\bin\bash.exe

cd %SRC_DIR%
Expand Down Expand Up @@ -264,7 +256,7 @@ jobs:
set CONDA_PREFIX=%DEPENDENCIES_DIR%
set PATH=%PATH%;%DEPENDENCIES_DIR%\Library\bin
set DISTUTILS_USE_SDK=1
set VS_PATH=%DEPENDENCIES_DIR%\VSBuildTools\VC\Auxiliary\Build\vcvarsall.bat
set VS_PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat

call "%VS_PATH%" arm64
cd %SRC_DIR%
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
LINUX_AARCH64_GPU_RUNNER = "linux.arm64.m7g.4xlarge"
WIN_GPU_RUNNER = "windows.g4dn.xlarge"
WIN_CPU_RUNNER = "windows.4xlarge"
WIN_ARM64_RUNNER = "windows-11-arm64"
WIN_ARM64_RUNNER = "windows-11-arm64-preview"
MACOS_M1_RUNNER = "macos-m1-stable"

PACKAGES_TO_INSTALL_WHL = "torch torchvision torchaudio"
Expand Down
Loading