Skip to content
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

[Doc] Add instruction to install XGBoost for Apple Silicon using Conda #7612

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Jan 28, 2022

conda-forge/xgboost-feedstock#79 added a build for osx-arm64. This build is a cross-build, using Azure Pipelines to build a binary for Apple Silicon. Given the high complexity of setting up a cross-build, we won't be able to replicate it ourselves. As a result, we won't upload a M1-native Python wheel on PyPI. Instead, we'll tell Apple Silicon users to use Conda to install XGBoost.

@hcho3 hcho3 requested a review from trivialfis January 28, 2022 08:48
@hcho3
Copy link
Collaborator Author

hcho3 commented Jan 28, 2022

@trivialfis I just found https://github.com/pypa/cibuildwheel, which is a tool made by Python Packaging Authority to build wheel on multiple platforms, including Apple Silicon. I will be testing this with Treelite first and see how this goes. If all is well, we could upload M1 binary to PyPI.

@trivialfis
Copy link
Member

Fingers crossed. ;-)

@hcho3 hcho3 merged commit f21301c into dmlc:master Jan 28, 2022
@hcho3 hcho3 deleted the doc_apple_m1_conda branch January 28, 2022 09:06
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.

2 participants