Skip to content

Add support for building xgboost wheels on Win-ARM64#11572

Merged
hcho3 merged 2 commits into
dmlc:masterfrom
MGN-GIT:WoA_Python_Wheel
Jul 26, 2025
Merged

Add support for building xgboost wheels on Win-ARM64#11572
hcho3 merged 2 commits into
dmlc:masterfrom
MGN-GIT:WoA_Python_Wheel

Conversation

@MGN-GIT

@MGN-GIT MGN-GIT commented Jul 18, 2025

Copy link
Copy Markdown
Contributor

PR Description:

  • The adoption of Windows on ARM (WoA) devices is steadily increasing, yet many Python wheels are still not available for this platform.
  • GitHub Actions now offer native CI runners for Windows on ARM devices (windows-11-arm), enabling automated builds and testing.
  • Currently, official XGBoost Python wheels are not provided for Windows ARM64.
  • This PR introduces support for building XGBoost wheels on Windows ARM64, improving accessibility for developers and end users on this emerging platform.

@trivialfis trivialfis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on the Windows ARM build. I will read the document from GitHub about the worker setup.

cc @hcho3

Comment thread .github/workflows/python_wheels_winarm64.yml Outdated
Comment on lines +57 to +62
if: github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')
run: |
python ops/pipeline/manage-artifacts.py upload `
--s3-bucket xgboost-nightly-builds `
--prefix ${{ env.BRANCH_NAME }}/${{ github.sha }} --make-public `
python-package/wheelhouse/*.whl

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will defer this part to @hcho3

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trivialfis & @hcho3 Please, let me know if there is any additional changes are required for this PR getting merged.

@hcho3
hcho3 merged commit aa497ae into dmlc:master Jul 26, 2025
65 checks passed
@hcho3

hcho3 commented Jul 26, 2025

Copy link
Copy Markdown
Collaborator

Merging this for now. Thank you! I will monitor the CI in the next few days to ensure that the nightly builds are functional.

This was referenced Jul 28, 2025
hcho3 pushed a commit to hcho3/xgboost that referenced this pull request Jul 30, 2025
* Add support for building xgboost wheels on Win-ARM64

* Add CI support for building xgboost wheels for WoA
hcho3 added a commit that referenced this pull request Jul 30, 2025
…, #11597, #11559) (#11599)

* Add support for building xgboost wheels on Win-ARM64 (#11572)

* Add support for building xgboost wheels on Win-ARM64

* Add CI support for building xgboost wheels for WoA

* Fix wheel upload with WoA (#11597)

* [WIP] Debug wheel build with WoA

* Add back conditional

* Fix compilation on WoA (#11559)

---------

Co-authored-by: newyork_loki <[email protected]>
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.

3 participants