HackerTrans
TopNewTrendsCommentsPastAskShowJobs

anemll

no profile record

Submissions

iPhone 17 Pro Demonstrated Running a 400B LLM

twitter.com
713 points·by anemll·vor 4 Monaten·326 comments

RDMA over Thunderbolt 5 on Apple Silicon – 14µs latency

twitter.com
6 points·by anemll·vor 8 Monaten·1 comments

comments

anemll
·vor 3 Monaten·discuss
Check it out, you might be able to speed it up using this https://github.com/Anemll/anemll-flash-mlx https://x.com/anemll/status/2038684375425200360
anemll
·vor 4 Monaten·discuss
17B includes 10 expert plus one shared. So actual size of the expert is much smaller
anemll
·vor 4 Monaten·discuss
Check my repo, I had added some support for GUFF/untloth, Q3,Q5/Q8 https://github.com/Anemll/flash-moe/blob/iOS-App/docs/gguf-h...
anemll
·vor 4 Monaten·discuss
Thanks for posting this, that's how I first found out about Dan's experiment! SSD speed doubled in the M5P/M generation, that makes it usable! I think one paper under the radar is "KV Prediction for Improved Time to First Token" https://arxiv.org/abs/2410.08391 which hopefully can help with prefill for Flash streaming.
anemll
·vor 4 Monaten·discuss
SSD streaming to compute units is new. M4 max can do 15 t/s with its 15GB/s drives
anemll
·vor 4 Monaten·discuss
Yes, SSD speed is critical though. The repo has macOS builds for CLI and Desktop. It's early stages though. M4 Max gets 10-15 TPS on 400B depending on quantization. Compute is an issue too; a lot of code is PoC level.
anemll
·vor 4 Monaten·discuss
multiple NAND, and apple already used it in Mac Studio. Plus better cooling
anemll
·vor 4 Monaten·discuss
both, tbh
anemll
·vor 4 Monaten·discuss
Probably 2x speed for Mac Studio this year if they do double NAND ( or quad?)
anemll
·vor 4 Monaten·discuss
[flagged]
anemll
·vor 7 Monaten·discuss
Tensor Parallel test with RDMA last week https://x.com/anemll/status/1996349871260107102

Note fast sync workaround
anemll
·vor 8 Monaten·discuss
In macOS 26.2 (Tahoe) beta, Apple introduced a low-latency Thunderbolt 5 RDMA driver, enabling up to 80 Gb/s bidirectional bandwidth for Mac clustering—ideal for distributed ML on Apple Silicon. It's optimized for low latency, delivering ~14 Gbps throughput at 4K MTU. My tests (M4 Pro to M3 Ultra): Stock ibv_uc_pingpong achieved ~14 µs round-trip for 4K packets (requires GID index setup). Custom C++ variant hit 6-13 µs/iter: https://x.com/anemll/status/1993192776897642942 Code and details: https://github.com/Anemll/mlx-rdma/blob/anemll-rdma/ibv_roun... https://github.com/Anemll/mlx-rdma/blob/anemll-rdma/ibv_roun... (includes steps to enable RDMA in macOS Recovery OS terminal) Theoretically, this accelerates pipeline parallelism (faster layer handoffs) and tensor parallelism (low-overhead sharding) on GPUs, with potential extensions to ANE for real-time AI workflows.
anemll
·vor 10 Monaten·discuss
It’s also supported in Apple Neural Engine https://github.com/Anemll/Anemll