Hacker Newsnew | past | comments | ask | show | jobs | submit | Argonautlabs's commentslogin

Kimi 3.1 running locally on a MacBook Pro M5 Max 128 Gb

Mac version is released.

2 tok/s decode 8.4 tok/s prefill

Its a source build with weights downloaded separately.

Code: https://github.com/argonautlabsai/argodrive-ds4-kimi-k3.1 Full results and setup: https://argonautlabs.ai/research/kimi-k31-single-gpu.html#ap...


With a drafter decode speed is 2.64 tok/sec.

Mac version should be released next week.


We run it on 96gb Vram

https://argonautlabs.ai


That's impressive but it's very slow because you're storing most of the weights on a NVME drive.

Its all about AI these days.


Different angle on the same model: the full GLM-5.3 (744B MoE, 4-bit experts, 434 GB on disk) runs on a single MacBook Pro M5 Max with 128 GB by streaming the experts from NVMe SSDs instead of keeping them in memory.

One drive gives about 2 tok/s; striped across four drives it reaches 3.5 tok/s with byte-identical output, and our best internal build with a not-yet-published patch does 4.2.

Method and numbers: https://github.com/argonautlabsai/argodrive (built on antirez/ds4).


seems unusably slow, and is this for short context?


Given these numbers it has some potential to become quite usable for unattended workloads, especially if decode can be batched across multiple sessions (ideally enough of them to get some reuse of the sparsely streamed weights). (Of course this ultimately makes prefill times explode as you try and increase the workload even further. But that's arguably the natural bottleneck on any interesting local LLM inference, being a compute bound step.)


We stream DeepSeek-V4.1-Flash (518 GB, 4-bit) from NVMe on a 128 GB M5 Max, because it doesn't fit in RAM.

                        prompt processing      steady decode
    upstream, internal       16.23                 10.59
    ours, internal only      28.04  1.73x          14.38  1.36x
    ours, +1 external        36.88  2.27x          16.05  1.52x
    ours, +2 external        43.62  2.69x          17.38  1.64x

  The first fork row is the one that matters: same single internal SSD, no replicas, no enclosures.


Just so you know, you are getting automatically flagged in HN (your comments are automatically removed). I think it's because you are using LLM to write them. You should not copy paste LLM output directly to comments in this website.

(I'm not talking about using LLM to generate the README.md of your project, that's also distasteful but not nearly as bad)

In either case your repository is interesting, and might be useful for people that own a M5 Max


44 t/s prefill and 17 t/s decode on M5 Max 128gb Deep Seek V4.1 Flash (4 bit)


Thank you.

Put a five-line TL;DR at the top of the README — what it is, the number, the honest limit, the two findings, credits — with the detail below for anyone who wants it.


What was the decision to leave the LLM to write the detail section rather than author it yourself? There's a growing resentment about asking people to read LLM-produced words, especially if it's a large amount to read. Not sure if you were aware of that or not (I think there's been links to surveys / polls just recently on H.N)


Fair, and we didn't measure it.

Decode was flat from 128 to 512 generated tokens (0.926 → 0.923 tok/s drafter-off), but that's a 6-token prompt plus the output — total context under a thousand.

The current configuration admits about 4.4k tokens of context at all, and at anything like 200k the killer wouldn't be decode, it would be prefill: today it reads each layer's experts once per 64-row pass,

so 200k tokens of prompt would be measured in days, not minutes, until the scheduling fix.


what's the main limitation on context size?

4.4k seems... I just realized I have no sense of scale whatsoever


Memory, not the model.

The KV cache on this engine grows about 2.8 MiB per token of context, and the machine's 128 GB is already holding the 50.7 GiB resident trunk plus reserves the speculative-verify path needs

(we found the hard way that squeezing those makes the verifier reject wide batches and decode falls to single-token steps).

With the current reserves the engine admits ~4.4k tokens; that's a configuration ceiling you can raise by giving the cache more of the 128 GB and accepting less headroom elsewhere.

K3 itself supports far longer contexts — but see the prefill caveat above: on this setup long prompts cost minutes per 512 tokens until the scheduling fix lands.


That's the one workload this setup is worst at today, unfortunately: output tokens are cheap at 1/s but input isn't — a 512-token prompt takes ~6 minutes before the first token,

because prefill currently reads each layer's experts once per 64-row pass (~9 TB of reads for a 1.4 TB model).

Fix is scheduling and it's the next thing being built; once prefill reads each expert once per layer, the one-token-out classifier pattern becomes the sweet spot rather than the worst case.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: