Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

he made 405-billion-parameter models run on a single 8GB gaming GPU. instead of turning it into a paid service, he open-sourced the whole thing. Gavin Li Founder and CEO of Anima AI in the Bay Area. 'airllm' - it keeps one layer on the GPU at a time and...

111,308 Aufrufe • vor 3 Monaten •via X (Twitter)

37 Kommentare

Profilbild von Raichubuilds
Raichubuildsvor 3 Monaten

37373737 seconds for 1 token?

Profilbild von leo
leovor 3 Monaten

not a new concept, but just practically useless for doing any real llm driven tasks due to how slow it is. Cool tho

Profilbild von 0std | Pentester | AppSec
0std | Pentester | AppSecvor 3 Monaten

hahahha another 0.12 tokens/s repo, good luck doing anything with such speed

Profilbild von O(1)
O(1)vor 3 Monaten

BS, every single token requires re-reading essentially the entire model off disk. A 671B model at 4-bit is 350GB.. per token. Real-world reports put it at 5–30x slower than proper full-VRAM inference and 50–200x slower than APIs seconds-per-token or worse, with CPU pinned at 100%

Profilbild von Herminia
Herminiavor 3 Monaten

808 seguidores, 22.700 estrellas. La asimetría entre quién construye y quién tiene atención es casi más interesante que el logro técnico.

Profilbild von Le bureau Virtuel
Le bureau Virtuelvor 3 Monaten

Merci à lui

Profilbild von Atenov int.
Atenov int.vor 3 Monaten

i trust what was actually built into airllm

Profilbild von dunik
dunikvor 3 Monaten

yes, this project it's amazing

Profilbild von Abhishek Shinde
Abhishek Shindevor 3 Monaten

I guess github is the new place for AI research

Profilbild von AIAIO
AIAIOvor 3 Monaten

One would think 800 followers isn't that much for a project that seems to solve some of the biggest pain points of local AI. How fast does this thing run? More of a proof of concept or actually usable? I recall the port of a Linux kernel in a small 8 bit pic using emulation. Great idea. Just not usable.

Profilbild von Alex
Alexvor 3 Monaten

Never seen this GitHub before. I'll dig into it

Profilbild von dunik
dunikvor 3 Monaten

yep, start doing it right now!

Profilbild von DEV 0x***(Full Stack)💾
DEV 0x***(Full Stack)💾vor 3 Monaten

for me when i hear "bay area" i run and never look back lol

Profilbild von Dany Boy
Dany Boyvor 3 Monaten

it's not a "crazy" new thing. It's been doable from day 1. The problem with this is speed, concurrency, KV heads, quants etc. It all makes the model unusable for any real work.

Profilbild von 0xSlyth
0xSlythvor 3 Monaten

absolute madman to share this openly

Profilbild von SubThought Corp
SubThought Corpvor 3 Monaten

He didn't specialize on one content area for a target market. That was his mistake. Start with Finance or Real Estate next try.

Profilbild von porto4mil
porto4milvor 3 Monaten

@eltuganomics

Profilbild von 🤯
🤯vor 3 Monaten

1 tok/week

Profilbild von Dimuth Kurukula
Dimuth Kurukulavor 3 Monaten

@grok how is the approach here different from calibri for glm5.2

Profilbild von Chuck Petras
Chuck Petrasvor 3 Monaten

@BrianRoemmele

Profilbild von nanobro🎈
nanobro🎈vor 3 Monaten

Wen glm5.2 in dgx spark

Profilbild von 🅰🅽🆂🅷🆄🅻 🆂🅸🅽🅶🅷
🅰🅽🆂🅷🆄🅻 🆂🅸🅽🅶🅷vor 3 Monaten

1token per day?

Profilbild von Shesaidmewakeup
Shesaidmewakeupvor 3 Monaten

AirLLM is exactly the kind of tool that lets you get the most out of low-end hardware. That guy is really impressive. 🔥

Profilbild von AI Mastery Guide
AI Mastery Guidevor 3 Monaten

Fitting a 671B model into 12GB is a genuinely wild feat

Profilbild von Andrius Mostauskas
Andrius Mostauskasvor 3 Monaten

Will this work with LM Studio?

Profilbild von knopka_web3
knopka_web3vor 3 Monaten

Вы не проверяли что это за Airllm этот инструмент не работает.

Profilbild von Jörg Kachelofen
Jörg Kachelofenvor 3 Monaten

Have fun…

Profilbild von Qedge
Qedgevor 3 Monaten

airllm streams one layer at a time from cpu to gpu. That layer-wise swap gives us a clean hook for quantum-inspired prefetch on next token path.

Profilbild von Anotos
Anotosvor 3 Monaten

No. This thing is utter bullshit and is WAY too slow to be useful AT ALL. It generates a token PER MINUTE.

Profilbild von David
Davidvor 3 Monaten

@midudev

Profilbild von Young Sneed
Young Sneedvor 3 Monaten

holy based! where GGUF? chapeau to the legend open sourcing this!!

Profilbild von Nahid
Nahidvor 3 Monaten

airllms layer streaming is a wild approach

Profilbild von Marshall
Marshallvor 3 Monaten

How many seconds per token 😂

Profilbild von Ella Smith
Ella Smithvor 3 Monaten

This is amazing, we really need efficient LLMs now. Benchmarks should start talking about that now.

Profilbild von Shara
Sharavor 3 Monaten

Open sourcing instead of monetizing that breakthrough is a generous move.

Profilbild von SubThought Corp
SubThought Corpvor 3 Monaten

Why?

Profilbild von Saman Ahmed
Saman Ahmedvor 3 Monaten

I love these cases where one clever engineering choice changes who gets access to a technology.

Ähnliche Videos

UC Berkeley just open-sourced FreeToken. (2–4x faster local LLM inference than Ollama) the results are wild: - Qwen3.6-35B on an 8GB GPU at 39.3 tokens/s - DeepSeek-V4-Flash 284B on a 32GB GPU at 22 tokens/s - GLM-5.2 753B on a 96GB GPU at 14.9 tokens/s a 35B model at 16-bit precision needs about 70GB just for its weights. even at 4 bits it is close to 18GB, and FreeToken serves it on an 8GB GPU. let me explain how: all three models mentioned above are Mixture-of-Experts, and that is what FreeToken takes advantage of. each layer holds hundreds of separate experts plus a small router that picks a few of them per token. Qwen3.6-35B activates roughly 3B of its 35B parameters per token. DeepSeek-V4-Flash picks 6 of 256 experts per layer, so 13B of its 284B run at a time. so compute was never the bottleneck. the weights a single step touches fit comfortably on a consumer GPU. every expert the router might pick still has to exist somewhere. they sit in system RAM, and the GPU keeps a cache of the ones the model has been using recently. so everything comes down to what happens when the router picks an expert that is not on the GPU. there are two ways to serve that miss: 1. copy it over PCIe and run it on the GPU 2. run it on the CPU, where it already lives both read from the same system memory, so they compete for one pool of bandwidth instead of adding to each other. existing engines pick one option and freeze it when the model loads. but routing changes on every token, so a fixed choice misses most of what the model asks for. FreeToken measures both bandwidths on your machine and splits each step's misses between the two paths in proportion. the GPU and CPU results then merge exactly, with no approximation. two machines with the same GPU can end up wanting opposite strategies, which I did not expect. a 5090 in a gaming desktop should push nearly everything over PCIe, while an 8GB laptop is better off computing most misses on the CPU. none of that is readable off a spec sheet, so the engine profiles it once per machine. the second half of the design is about agents. coding agents constantly rewrite their own history, and every edit normally forces thousands of tokens back through prefill. FreeToken saves its checkpoints at the exact boundaries agent frameworks cut on, so it only reprocesses the new part. its slowest first token stays under 44 seconds, while llama.cpp peaks at 232 and KTransformers at 946. it serves the OpenAI and Anthropic APIs under Apache 2.0, so Claude Code and Codex can point at it directly. releasing weights publicly decides who can download a model, not who can afford to run one. frontier open models keep shipping, and running them still assumes a rented cluster. meanwhile there are over a hundred million consumer machines with discrete GPUs sitting mostly idle. closing that gap was never a hardware problem, and work like this is what turns open weights into something you can actually use. paper: repo: almost every idea in this post, from why memory bandwidth decides the outcome to why moving weights costs more than computing on them, comes straight out of how a GPU is built. I wrote a detailed primer on that. the article is quoted below.

Akshay 🚀

345,385 Aufrufe • vor 2 Monaten