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

docs: fix mlx feature in "multiple machines" example #1762

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

rgommers
Copy link
Contributor

@rgommers rgommers commented Aug 8, 2024

The example as it was would not solve, it ends with a fairly obscure error:

  × failed to solve the conda requirements of 'mlx' 'osx-arm64'
  ╰─▶ Cannot solve the request because of: mlx >=0.5.0,<0.6.0 cannot be installed because there are no viable options:
      └─ mlx 0.5.0 | 0.5.0 | 0.5.0 | 0.5.0 | 0.5.0 | 0.5.1 | 0.5.1 | 0.5.1 | 0.5.1 | 0.5.1 would require
         └─ __osx >=13.3, for which no candidates were found.

This was already found previously in #562 (comment), and the fix is to add a minimum macOS version. Note that the conda-forge package metadata (saying >=13.3) is also incorrect, the 13.5 minimum added to the example comes from the MLX docs: https://ml-explore.github.io/mlx/build/html/install.html#

While we're at it, also update to a recent MLX version.

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Thank you, I would like to update the examples/multi-machine as well. But have a quesion:

docs/features/multi_environment.md Outdated Show resolved Hide resolved
The example as it was would not solve, it ends with a fairly
obscure error:

```
  × failed to solve the conda requirements of 'mlx' 'osx-arm64'
  ╰─▶ Cannot solve the request because of: mlx >=0.5.0,<0.6.0 cannot be installed because there are no viable options:
      └─ mlx 0.5.0 | 0.5.0 | 0.5.0 | 0.5.0 | 0.5.0 | 0.5.1 | 0.5.1 | 0.5.1 | 0.5.1 | 0.5.1 would require
         └─ __osx >=13.3, for which no candidates were found.
```

This was already found previously in
prefix-dev#562 (comment),
and the fix is to add a minimum macOS version.
Note that the conda-forge package metadata (saying >=13.3) is also incorrect,
the 13.5 minimum added to the example comes from the MLX docs:
https://ml-explore.github.io/mlx/build/html/install.html#

While we're at it, also update to a recent MLX version.
@rgommers rgommers force-pushed the doc-fix-multimachine-example branch from 859cc61 to 094ba23 Compare August 8, 2024 06:07
@ruben-arts ruben-arts merged commit 4e12e86 into prefix-dev:main Aug 8, 2024
19 of 20 checks passed
@rgommers rgommers deleted the doc-fix-multimachine-example branch August 8, 2024 06:19
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