Skip to content

Add Windows ARM64 build and CI support - #2099

Open
Harishmcw wants to merge 1 commit into
OpenNMT:masterfrom
Harishmcw:win_arm64
Open

Add Windows ARM64 build and CI support#2099
Harishmcw wants to merge 1 commit into
OpenNMT:masterfrom
Harishmcw:win_arm64

Conversation

@Harishmcw

Copy link
Copy Markdown

Fixes: #1756

Summary

This PR adds Windows ARM64 build and CI support.

Changes

  1. Extended CMake architecture detection and the NEON implementation to support Windows ARM64.
  2. Added the windows-11-arm runner to the CI workflow, along with a Windows ARM64 wheel build environment script that builds OpenBLAS and uses it as the backend.
  3. Updated the Python tests to skip int8 compute type tests when int8 is not supported by the CPU backend. These tests currently fail on WoA because the OpenBLAS build does not provide the int8 GEMM path that Ruy provides. A PR is pending in the Ruy repository to add WoA support; once merged, Ruy can be enabled for the WoA build and these test skips can be removed.

AI Assistance

Used AI assistance to resolve build errors. The suggested changes were manually validated, followed by build and test verification locally and in CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant