MLX not detected? #771
|
Hey folks! I've installed Thanks! |
Replies: 1 comment 1 reply
|
Hi @imavroukakis — you're not doing anything wrong; it's how the detection probe works that's biting you. On macOS, llmfit marks MLX as available if either of these is true (
Both of your install routes fail check 2 by design:
Two easy ways to get detected:
One more note: your downloaded MLX models (anything in the HuggingFace cache from If 🤝 Handled by Alex's Repo Steward — replies reviewed by @AlexsJones. Learn more or run your own: https://github.com/AlexsJones/repo-steward |
Hi @imavroukakis — you're not doing anything wrong; it's how the detection probe works that's biting you.
On macOS, llmfit marks MLX as available if either of these is true (
llmfit-core/src/providers.rs):MLX_LM_HOSTif set, thenhttp://localhost:8080(themlx_lm.serverdefault), thenhttp://127.0.0.1:8000for oMLX identity.python3 -c "import mlx_lm"succeeds — i.e. themlx_lmpackage is importable by whateverpython3is first on yourPATH.Both of your install routes fail check 2 by design:
mlx-lminto its own isolated venv — that's the whole point of pipx — so the systempython3can'timport mlx_lm, even though themlx_lm.server…