正在加载视频...

视频加载失败

the timeline spent two days saying bonsai 2 cannot build. here is 1 hour 24 minutes of it building, one shot, from one paragraph, on an rtx 3060 12gb, sped to 8x so you can watch the whole thing. what you are watching is a 5.9gb ternary compression of...

41,330 次观看 • 2 天前 •via X (Twitter)

18 条评论

Sudo su 的头像
Sudo su2 天前

the exact serve, copy it as is. prism fork prism-b10685 or newer, prebuilt cuda binaries on the releases page, no compile. model: (the PTQ1_0 file, 5.95gb) fork: llama-server -m Ternary-Bonsai-2-27B-PTQ1_0.gguf -ngl 99 -fa on -c 262144 -np 1 -ctk q4_0 -ctv q4_0 --jinja --temp 1.0 --top-p 0.95 --top-k 20 --host 127.0.0.1 --port 8899 -c 262144 is the full window and needs 12gb, drop to 65536 on an 8gb card. -np 1 keeps one slot, four slots cost 450mb for nothing. --jinja is what makes tool calls work. temp 1.0, top-p 0.95, top-k 20 are their thinking defaults. the web ui is at localhost:8899 once it is up, that is what the video shows.

Sudo su 的头像
Sudo su2 天前

the exact prompt, one paragraph, so you can run the same test on your card and compare: "build me a single html file, gpu-monitor.html, a terminal styled gpu monitoring card for one node, the kind of thing nvidia-smi and nvtop show but as a clean ui card. one card per gpu, start with one: NVIDIA GeForce RTX 3060 12GB. the card shows the gpu name and driver version, temperature with a colored bar, fan percent, gpu utilization percent, vram used over total as a bar with the numbers, power draw over limit as a bar, sm clock and memory clock, pcie gen and lanes, and three small sparklines under the bars for utilization, vram and power over the last 60 seconds. below the card a small process table with pid, type, gpu mem and command, two rows, llama-server and hermes-agent. no real nvidia-smi calls, simulate the data client side, update every second with realistic fluctuation, and let the sparklines scroll. aesthetic: dark near-black background, monospace everything, terminal green for labels and borders, orange for the live numbers, red when a metric passes 85 percent of its max, and a thin header bar that reads NODE MONITOR · @sudoingX. vanilla html, css and js only, no libraries, everything inline in the one file, it must open straight from the file with no server and no console errors. make it look good enough to screenshot."

Sudo su 的头像
Sudo su2 天前

every number in the video comes from the 12gb receipt sheet, memory ladder, decode by depth, prefill, power, all measured on this serve:

matt 的头像
matt2 天前

1h24 for a gpu monitor html though

Sudo su 的头像
Sudo su2 天前

most of that is thinking, 76k tokens of it, at 26 tok/s falling to 13 tok/s as the context fills, on a 150 w card. a human does not design and ship that page in 84 minutes either. quality is the part that surprised me, speed is the part i am working on, the mtp head graft and a kernel fix are on the bench this week, that is where the 2x comes from.

Emilio^ 的头像
Emilio^2 天前

Mine gets perpetually stuck, even with thinking budgets and dry penalties

Sudo su 的头像
Sudo su2 天前

mine just keeps going, 76k tokens without a stall. two things that cause the stuck loop in my runs: the stock llama.cpp build (it loads the file and talks nonsense, you need the prismml fork) and fighting the sampler. drop the dry and rep penalties, run their thinking defaults, temp 1.0, top-p 0.95, top-k 20, presence 0, with --jinja on. the exact serve line is in my replies above.

B effect.iota 🦋🐝 的头像
B effect.iota 🦋🐝2 天前

All it takes is getting the setup right 🎯

Chris Geeman 的头像
Chris Geeman2 天前

Hell ya!

Badanzer 的头像
Badanzer2 天前

12GB is still where a lot of real desks live. Does ternary actually keep you from swapping when you push batch size?

Spok 的头像
Spok2 天前

Yeh, I my tests it also was a useful model, but not 98% of original one

La Voix du Chat Artiste 的头像
La Voix du Chat Artiste1 天前

Thanks i was waiting for this

David Walker 的头像
David Walker2 天前

People are saying that the Q2 model at full context precision is having quality issues. Tool calling works, but the actual output is noticeably worse than the full model. I can’t imagine what shenanigans Q1 and Q4 kv cache must do. I’d go with Q2 and Q8 kv cache minimum

EDDY VU 的头像
EDDY VU1 天前

Keeping that level of coherence across an hour and a half on a single 3060 is a massive win for ternary compression.

Fratrilogos 的头像
Fratrilogos2 天前

Some of us do not find a terminal gpu monitor particularly impressive.

basedcapital 的头像
basedcapital2 天前

the cache cannot be what halves the decode. 4 bit kv on 16 of 64 layers is about 16kb a token, so at 76k it is 1.2gb against 7.2gb of weights.

Ericreator 的头像
Ericreator2 天前

way slower than expected

Empyrean 的头像
Empyrean1 天前

Are you building anything real or just AI theatre? Genuinly curious! Thanks.

相关视频

i watched gemma 4 12b build something genuinely impressive today, and then loop itself to death right in front of me. the full run is in the video, sped up but completely uncut, watch it to the end and you will catch the exact moment it stops building and starts looping right in the middle of the work. the task was clean, build a single file gravity simulator, n-body physics, orbits, collisions, running locally on one 3090 through an agent. and for ten minutes it was a joy to watch. it reached for a symplectic integrator on its own, the correct one, the kind that keeps orbits stable instead of spiralling out. real gravity with softening, proper orbital velocities, momentum conserved on collision. the physics was right. the thing actually worked. then on the very last step, writing a few tests to prove its own code, it fell into a loop. not a crash, a loop. it started repeating itself and would not stop. ten more minutes, thirty four thousand tokens into a single answer, the same fragments over and over, until i killed it myself. so it's not that gemma can't code. it did the hard part beautifully. it cannot finish. it cannot hold a long task together without unravelling, and finishing is the entire job in agentic work. here's the part that stings. i run this exact task, same harness, same card, on the chinese open models, qwen especially, and i never see this. they build it, they test it, they stop. every single time. google has the raw capability, you can see it sitting right there in the code, and then the model loops itself to death on a task a 27b from alibaba finishes clean. open weights, apache 2.0, so much to love on paper. i just need it to know when to stop talking.

Sudo su

39,764 次观看 • 3 个月前

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 🚀

343,270 次观看 • 29 天前