Skip to content

automatic mlx selection and setup#187

Open
michal1000w wants to merge 3 commits intonikopueringer:mainfrom
michal1000w:auto-mlx
Open

automatic mlx selection and setup#187
michal1000w wants to merge 3 commits intonikopueringer:mainfrom
michal1000w:auto-mlx

Conversation

@michal1000w
Copy link
Copy Markdown

What does this change?

  • This script automatically enables mlx on Apple Sillicon without any need of manual setup on the user side
  • If mlx module is not installed it installs it automatically
  • If no .safetensor weights are present it automatically transforms .pth weights into mlx
  • Overall it makes using mlx a one click scenario

How was it tested?

2 computers with apple sillicon. Also it passes all synthetic tests

Checklist

  • uv run pytest passes
  • uv run ruff check passes
  • uv run ruff format --check passes

@nikopueringer
Copy link
Copy Markdown
Owner

@michal1000w Hi! I was slow to merge this PR as I don't have apple hardware to test with. If you can resolve the current conflicts, I can merge this PR.

@michal1000w
Copy link
Copy Markdown
Author

@nikopueringer Hi. No problem :) . I resolved the issues and everything seems to work in my tests as intended

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