forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Disable machine learning on macOS x86_64 (elastic#104125)
As previously advised in elastic#104087, machine learning functionality will no longer be available on macOS x86_64. Machine learning functionality is still available on macOS by using an arm64 machine (Apple silicon). It is also possible to run Elasticsearch with machine learning functionality within a Docker container on macOS x86_64. This PR should be merged to main after the branch is split for the last minor release scheduled for before December 2024. For example, suppose 8.17.0 is scheduled for release in November 2024 and 8.18.0 is scheduled for release in January 2025. Then this PR should be merged to main after the 8.17 branch is split. One this PR is merged a followup PR should be opened against the ml-cpp repo to remove the build system for darwin-x86_64. It has been confirmed that with this change in place the Elasticsearch build system works with an ml-cpp bundle that does not contain a platform/darwin-x86_64 directory. It still produces an Elasticsearch build that will run providing xpack.ml.enabled is not explicitly set to true. After the build system for darwin-x86_64 has been removed from the ml-cpp repo, we will be able to do another PyTorch upgrade without having to worry about tweaking the build system to work on Intel macOS. --------- Co-authored-by: Ed Savage <[email protected]> Co-authored-by: Valeriy Khakhutskyy <[email protected]>
- Loading branch information
1 parent
abb4585
commit 5232c69
Showing
3 changed files
with
38 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pr: 104125 | ||
summary: Disable machine learning on macOS x86_64 | ||
area: Machine Learning | ||
type: breaking | ||
issues: [] | ||
breaking: | ||
title: Disable machine learning on macOS x86_64 | ||
area: Packaging | ||
details: The machine learning plugin is permanently disabled on macOS x86_64. | ||
For the last three years Apple has been selling hardware based on the arm64 | ||
architecture, and support will increasingly focus on this architecture in | ||
the future. Changes to upstream dependencies of Elastic's machine learning | ||
functionality have made it unviable for Elastic to continue to build machine | ||
learning on macOS x86_64. | ||
impact: To continue to use machine learning functionality on macOS please switch to | ||
an arm64 machine (Apple silicon). Alternatively, it will still be possible to run | ||
Elasticsearch with machine learning enabled in a Docker container on macOS x86_64. | ||
notable: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters