Better HN
topnewbestaskshowjobs
Log inSign up

alexandercheema

168 karma · joined Jul 16, 2024 (2y ago) · 35 submissions

Submissions

comment 7mo ago · link · parent

lol bro there is already a big OSS project called exo: https://github.com/exo-explore/exo

comment 9mo ago · link · parent

Isn't Claude Code for Infrastructure just...Claude Code?

comment 9mo ago · link · parent

Is there one for Kimi K2.5?

4.

Kimi K2.5 on 2 Mac Studios (<$20K) running at 24 TPS(twitter.com ↗)

6 points · by alexandercheema · 10mo ago · 4 comments

comment 1y ago · link · parent

Appreciate you checking back so often. We have some exciting plans. Keep checking and it won't be long before something pops up :)

comment 1y ago · link · parent

Yes, these models are mostly compute-bound so benefit even more from the compute on the DGX Spark.

comment 1y ago · link · parent

Blog author here. Actually, no. The model can be streamed into the DGX Spark, so we can run prefill of models much larger than 128GB (e.g. DeepSeek R1) on the DGX Spark. This feature is coming to EXO 1.0 which will be open-sourced soonTM.

8.

Clustering Nvidia DGX Spark and M3 Ultra Mac Studio for 4x Faster LLM Inference(twitter.com ↗)

8 points · by alexandercheema · 1y ago · 1 comment

9.

Clustering Nvidia DGX Spark and M3 Ultra Mac Studio for 4x Faster LLM Inference(blog.exolabs.net ↗)

5 points · by alexandercheema · 1y ago · discuss

comment 2y ago · link · parent

exo maintainer here. tgtweak is correct.

This looks like potentially some promising research that I'm looking into reproducing now. We want to lower the barrier to running large models as much as possible so if this works, it would be a potential addition to the exo offering.

11.

Meta AI: "The Future of AI Is Open Source and Decentralized"(twitter.com ↗)

214 points · by alexandercheema · 2y ago · 111 comments

12.

Two MacBooks is All You Need: Running Llama 3 405B using Apple MLX and Exo(twitter.com ↗)

11 points · by alexandercheema · 2y ago · 2 comments

comment 2y ago · link · parent

Not yet, should I make an issue for it?

comment 2y ago · link · parent

This is fixed now, with these commits: - https://github.com/exo-explore/exo/commit/dbbc7be57fb1871d2b... - https://github.com/exo-explore/exo/commit/ce46f000591d8d59c1...

Please keep the bug reports coming, we're moving fast to get this stable on all platforms.

comment 2y ago · link · parent

Do you mean with Apple Intelligence? You can already query models you host from Apple using exo or even just local on-device inference.

comment 2y ago · link · parent

Try it out - don't trust me!

The way this works is that each device holds a partition of the model (for now a continuous set of layers). E.g. let's say you have 3 devices and the model is 32 layers. Device 1 could hold layers 1-10, device 2 holds 11-20 and device 3 holds 21-32. Each device executes the layers it's responsible for and passes on the output of its last layer (the activations) to the next device.

The activations are ~8KB for Llama-3-8B and ~32KB for Llama-3-70B (it's linear in the number of parameters in that layer and Llama-3-70B has more layers). Generally the larger the model gets (in terms of parameters), the more layers it ends up having, so we end up with sub-linear scaling so I expect Llama-3-405B to have activations on the order of ~100KB.

This is totally acceptable to send over a local network. The main issue you run into is latency, not bandwidth. Since LLMs are autoregressive (tokens are generated serially), additional latency limits throughput. However, over a local network latency is generally very low (<5ms in my experience). And if not, it's still useful depending on the use-case since you can get a lot of throughput with pipeline parallelism (overlapping requests): https://pytorch.org/docs/stable/pipeline.html

comment 2y ago · link · parent

Repo maintainer here. It supports any device tinygrad does, which is a lot. We didn’t expect it to blow up so soon - the repo is still experimental. Internally we’ve mostly been testing on MacBooks and Mac Minis, and that’s where dev is happening. The swift implementation is outdated and currently broken, since Python has been changing so fast (over 20 commits in the last day). On my ToDo is CI/CD pipeline with integration tests for different device and network configurations, so we don’t randomly break stuff for certain devices.

We’re moving fast to get it stable and usable. The goal is for this to be as simple as running Dropbox. Bear with us :)

comment 2y ago · link · parent

Thank you for the support! I agree on the cost point, and personally I don’t want to live in a world where all AI runs on H100s in a giant datacenter controlled by one company.

comment 2y ago · link · parent

You’re right. The assumption right now is that you’re running on trusted devices on your own local network. I will add a section in the README.

comment 2y ago · link · parent

That’s where we want to get eventually. There’s a lot of work that needs to be done but I’m confident we’ll get there. Give us 3 months and it’ll be as simple as running Dropbox.

comment 2y ago · link · parent

Could you create a GitHub issue? There's a lot of work we'd like to do to improve this.

comment 2y ago · link · parent

Thanks for pointing out that. Fixed https://github.com/exo-explore/exo/blob/main/LICENSE

comment 2y ago · link · parent

Fascinating, will check this out! I wanted to focus on Python first to build this quickly, test out ideas and iterate.

This seems like a good option for a switch.

Do you know if any of these can run on Apple/Android devices?

comment 2y ago · link · parent

Repo author here. This sounds interesting. Could you elaborate on the benefits of Bumblebee / Axon?

comment 2y ago · link · parent

Issue link: https://github.com/exo-explore/exo/issues/11

comment 2y ago · link · parent

It *should* but I haven't tried it. I will try it. Updated in this issue:

We could also try raspberry pi + coral usb tpu (https://coral.ai/products/) - that might be a killer combo for super cheap home ai cluster.

12