Skip to content

Enable Windows ARM64 native wheel builds - #4223

Open
Harishmcw wants to merge 1 commit into
pytorch:mainfrom
Harishmcw:win_arm64
Open

Enable Windows ARM64 native wheel builds#4223
Harishmcw wants to merge 1 commit into
pytorch:mainfrom
Harishmcw:win_arm64

Conversation

@Harishmcw

Copy link
Copy Markdown

This PR enables native Windows ARM64 wheel builds for Torchaudio in CI.

Changes included:

  1. New CI Workflow: Added build_wheel_windows_arm64.yml to trigger the build_wheels_windows.yml reusable workflow from pytorch/test-infra specifically for the arm64 architecture.
  2. Environment Bootstrapping: Added pre_build_script_arm64.sh. Because test-infra currently bypasses the standard env-script (which uses Conda/vc_env_helper) for ARM64, this bash script is required to manually bootstrap a .venv and install the correct PyTorch wheels (Stable/Test/Nightly) prior to compilation.
  3. Setuptools Compatibility Fix: Modified tools/setup_helpers/extension.py to cast pathlib.Path objects in the C++ extension sources lists to strings using str(). This prevents an AssertionError crash in Python (which relies on setuptools._distutils >= 72.0, where strict string typing is enforced).

@Harishmcw
Harishmcw requested a review from a team as a code owner August 24, 2026 12:59
@pytorch-bot

pytorch-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/4223

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed label Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant