ai/ml Anyone running Ergo model locally? Too slow for my Mac studio cluster
I wrote a whole long-ass blog post about this but it's likely off topic for this sub; posting here to see if anyone else has been successful so far.
The summary for me:
- Unbalanced M5 Ultra Studio mac cluster w/ 512GB and 256GB machines
- Dual thunderbolt-5 cable setup w/ RDMA running at 80 Gb/s each
- Runtime: mlx-vlm 0.8.3
Unbalanced split details so Ergo spans both servers:
- 184 experts (432.3 GiB) on the 512GB studio
- 72 experts (~198 GiB) on the 256GB studio
Results:
- Single-stream decode ran at 6.3 tok/s (a 68-token and a 404-token answer), and 6.5 tok/s on the tool call
- Killed the benchmark once seeing those numbers; For my own work and benchmark tests I require a minimum 20 tok/s before seriously doing the full benchmark suite on a model.
- My benchmarks are a mix of real world IaaC/infra/HPC engineering tasks including a super tough test that requires the generation of a complex IAM policy where the real answer is 2-3 chars short of the IAM policy json length limit. If a model can't do at least 20 tok/sec the IAM test fails due to a 3hr time limit.
A lot of stuff went wrong but the fixes were pretty easy; the slow speed was the killer.
I deleted the weights to save disk space but given the insane rate of innovation in the localLLM space I suspect things will be quite different in just a few days