ml-explore/mlx-examples
View on GitHub ↗ ★ 9,045 Python
Examples in the MLX framework
19 mentions on Hacker News by 13 people: 8 stories, 11 comments · first 2023-12-06 · latest 2025-04-28
20082026
-
…which wraps that), vision LLMs (via https://github.com/Blaizzy/mlx-vlm ) and running Whisper ( https://github.com/ml-explore/mlx-examples/tree/main/whisper ) I haven't tried mlx-audio yet (which can synthesize speech) but it looks…
comment by simonw · 2025-04-28 · in Tiny-LLM – a course of serving LLM on Apple Silicon for systems engineers -
You might want to try caching to a file with mlx. https://github.com/ml-explore/mlx-examples/pull/956 edit: here's a quick example for qwen2.5-1M from a mlx dev https://x.com/awnihannun/status/1883611098081099914
comment by marci · 2025-01-27 · in Qwen2.5-1M: Deploy your own Qwen with context length up to 1M tokens -
…very reasonable/likely. The release of the training toolkit for Apple silicon too points that way: https://github.com/ml-explore/mlx-examples/tree/main/transfo...
comment by buildbot · 2024-06-10 · in Apple Intelligence for iPhone, iPad, and Mac -
somewhat related, i came across this, mlx examples for openai clip: https://github.com/ml-explore/mlx-examples/tree/main/clip curious to know how fast catlip is. the above using openai clip is already fast.
comment by seanvelasco · 2024-04-24 · in CoreNet: A library for training deep neural networks -
https://github.com/ml-explore/mlx https://github.com/ml-explore/mlx-examples This is where all of the action is at right now. You can also use LM Studio: https://lmstudio.ai/
comment by erichocean · 2024-01-15 · in The M2 is more advanced than it seemed -
…on M2 Ultra 128GB via MLX and is easy to setup (the longest part is just downloading the weights): https://github.com/ml-explore/mlx-examples/tree/main/llms/mi... We'll have a tutorial soon (next week) on combining/composing with Reexpress…
comment by reexpressionist · 2024-01-09 · in Mixtral 8x7B: A sparse Mixture of Experts language model -
Yes it has, actually: https://github.com/ml-explore/mlx-examples . It's right in the main repo. NB, I haven't tried this, I'm using llama.cpp with a non-K-quant quantization on my MBP.
comment by vessenes · 2024-01-09 · in Mixtral 8x7B: A sparse Mixture of Experts language model -
https://github.com/ml-explore/mlx-examples/ is Apple engineers working to get ML models going on Apple Silicon's Metal hardware.
comment by fragmede · 2023-12-14 · in Windows AI Studio Preview -
I was able to get it running on MLX on my M2 Max machine within a couple minutes using their example: https://github.com/ml-explore/mlx-examples/tree/main/whisper
comment by jonnyreiss · 2023-12-13 · in Whisper: Nvidia RTX 4090 vs. M1 Pro with MLX -
https://github.com/ml-explore/mlx-examples Several people working on mlx-enabled backends to popular ML workloads but it seems inference workloads are the most accelerated vs generative/training.
comment by tgtweak · 2023-12-13 · in Whisper: Nvidia RTX 4090 vs. M1 Pro with MLX -
…to other models or was whisper cherry picked due to it's serial nature and integer math? looking at https://github.com/ml-explore/mlx-examples/tree/main/stable_... seems to hint that this is the case: >At the time of writing this…
comment by tgtweak · 2023-12-13 · in Whisper: Nvidia RTX 4090 vs. M1 Pro with MLX