Загрузка видео...

Не удалось загрузить видео

На главную

THIS AMERICAN DEVELOPER SPENT WEEKS DEBUGGING TIMEOUT ERRORS IN OLLAMA. THEN HE LOOKED UNDER THE HOOD LM Studio is just llama.cpp Ollama is just llama.cpp so he cloned llama.cpp from source, pulled Qwen 3.6 35B off Hugging Face, set up asymmetric KV quantization and got a local server running...

241,145 просмотров • 5 месяцев назад •via X (Twitter)

Комментарии: 43

Фото профиля NotYourDC
NotYourDC5 месяцев назад

Who is speaking in this video? Is that you? It's not an American he is clearly English. Bit confused by the video and the link to 2-GPU build below it. How are they related?

Фото профиля leopardracer
leopardracer5 месяцев назад

this developer figured out the same thing I wrote about: strip the wrappers, run llama.cpp raw. different hardware, same conclusion

Фото профиля starmex
starmex5 месяцев назад

cut the wrappers, run the source. solid setup

Фото профиля leopardracer
leopardracer5 месяцев назад

exactly the mindset

Фото профиля elune
elune5 месяцев назад

zero api fees forever wins

Фото профиля leopardracer
leopardracer5 месяцев назад

@asakura0x correct conclusion👍🏻

Фото профиля elune
elune5 месяцев назад

😼

Фото профиля Samuel Gregory
Samuel Gregory5 месяцев назад

Thank you but I'm not American

Фото профиля leopardracer
leopardracer5 месяцев назад

sorry 🙏🏽

Фото профиля 𝔸𝕟𝕕𝕚 𝕁𝕒𝕖𝕘𝕖𝕣📯📸
𝔸𝕟𝕕𝕚 𝕁𝕒𝕖𝕘𝕖𝕣📯📸5 месяцев назад

This llama launcher gives us full control how llama-server is executed

Фото профиля kkiran
kkiran5 месяцев назад

Please link others videos to the source with your commentary. Thank you! @0x5am5 thanks for the contribution!

Фото профиля Ghost Signal
Ghost Signal5 месяцев назад

Most developers debug the wrapper. Never the engine. LM Studio. Ollama. Different names. Same llama.cpp underneath. The timeout wasn’t a bug. It was a layer you didn’t need. Going direct to llama.cpp isn’t advanced. It’s just removing the abstraction that was hiding the problem. 53 tok/s. 262K context. Zero fees. That’s what’s under the hood.

Фото профиля Kekko D’Amato
Kekko D’Amato5 месяцев назад

the asymmetric KV quantization bit is what really matters here. most people don't realize that KV cache is the memory bottleneck on consumer GPUs, not weights. Q8 weights + Q4 KV cache is a genuinely different tradeoff than Ollama's defaults, and going direct llama.cpp lets you tune that knob. the wrappers abstract away exactly the setting you'd want to change

Фото профиля kfant
kfant5 месяцев назад

who is this guy ? credit/reference

Фото профиля Bill The Radio Guy
Bill The Radio Guy5 месяцев назад

Or just configure lm studio to run the tool correctly, it has tons of configuration options and surely more could be added if that were necessary.

Фото профиля Joseph Hurtado - Founder Granata Consulting
Joseph Hurtado - Founder Granata Consulting5 месяцев назад

Thanks for the article. Can you share the link to the source video? Like you, that fellow deserves a follow.

Фото профиля slash1s
slash1s5 месяцев назад

yep definitely need to save this..

Фото профиля leopardracer
leopardracer5 месяцев назад

230 people already did

Фото профиля I Pun Daddy
I Pun Daddy5 месяцев назад

Classic move: abstract the abstraction, then debug the original abstraction.

Фото профиля CoreAI
CoreAI5 месяцев назад

No api fees👏

Фото профиля Bober_smart
Bober_smart5 месяцев назад

I'm starting to watch it, it sounds very tempting

Фото профиля leopardracer
leopardracer5 месяцев назад

once you start you don’t go back

Фото профиля Mario 🐧
Mario 🐧5 месяцев назад

I have a homogeneous GPU set up. 5060ti and 3060 ~ 28.5 gb's. Can meaningfully run qwen 27/35b My Thoughts: - heterogeneous is better(same gpu arch) - You'll want higher mem-bandwidth - Can run a model for workflows locally, but still want to build with a SOTA model.

Фото профиля b
b5 месяцев назад

😁 so it took this idiot (and also you) 3 years to understand ollama was just llama.cpp under the hood. Great job keep it up 🤦‍♂️

Фото профиля Gipp 🦅
Gipp 🦅5 месяцев назад

In fact, with AI it's very easy

Фото профиля leopardracer
leopardracer5 месяцев назад

easy once you know the stack. that’s the whole point of the article

Фото профиля Insomnia
Insomnia5 месяцев назад

he know facts how it's all works

Фото профиля leopardracer
leopardracer5 месяцев назад

no theory. just what actually runs

Фото профиля xpost
xpost5 месяцев назад

@grok is this real setup, Worth duplicating?

Фото профиля Victoria Neiman
Victoria Neiman5 месяцев назад

struck the OpenAI bill with 2 GPUs. not showing off, this is a business model. platform prices can change anytime. your hardware can't. more context:

Фото профиля Blak
Blak5 месяцев назад

but how do you solve the hardcoded 2GB metabuffer ?the server will crash when >2GB! so llama.cpp you will not be able to run as a 24/7 server with 120k context ! im testing now for weeks for stable 24/7 server inference for lokal production! please share with us the code!

Фото профиля Daily Story
Daily Story5 месяцев назад

Building locally seems like a game changer for overcoming those timeout errors!

Фото профиля Jeff Davis, MD
Jeff Davis, MD5 месяцев назад

Credit need to go to @0x5am5 and the original video:

Фото профиля Kyle
Kyle5 месяцев назад

Qwen 3.6 35B from Huggingface is 72gb... So this story is bullshit right off the bat.

Фото профиля Thirty
Thirty5 месяцев назад

@grok solid or no? Risk involved?

Фото профиля 84動物農場🇺🇦
84動物農場🇺🇦5 месяцев назад

I have an almost identical experimental machine with dual 4080S graphics cards. I always cram it with the largest model that can run, but it seems this isn't the best approach. Thanks for the experiment.

Фото профиля Horoshi⚡
Horoshi⚡5 месяцев назад

🤣This happens too, I thought for a long time...🤷

Фото профиля TruthSeeker
TruthSeeker5 месяцев назад

Check out TurboAgent. It does the weights and KV compression.

Фото профиля whiletrue111
whiletrue1115 месяцев назад

And what is all of this for? What is he actually doing with this? Summarizing articles every morning?

Фото профиля James Rogers - Cinematographer; Truth@24fps
James Rogers - Cinematographer; Truth@24fps5 месяцев назад

Today in “duh”

Фото профиля AX⚡
AX⚡5 месяцев назад

lmao yeah no shit it's all llama.cpp, what else would it be? hahaha

Фото профиля Tony Scott 🧄(🦆🐓🐵🧪🧬🪪)❌=↑🧄🧄🧄🥩🥚🧀↓👽👾🤖
Tony Scott 🧄(🦆🐓🐵🧪🧬🪪)❌=↑🧄🧄🧄🥩🥚🧀↓👽👾🤖5 месяцев назад

@grok summarise the video.

Фото профиля StarShipX
StarShipX5 месяцев назад

すごい技術ですね、私も試してみたいです。

Похожие видео

six months ago this wasn't happening on 8gb vram. running unsloth's Q4_K_XL quant of gemma 4 26b-a4b-it-qat, a sparse MoE model with only 4b active params on a single rtx 4060 laptop gpu, 8gb vram, 20+ tok/s decode. no cloud, no api, no offload hacks. just a gaming laptop on battery. what makes it fit: google's QAT (quantization aware training), plus MTP (multi token prediction) support in the latest llama.cpp builds. that combo is the single biggest unlock for local inference on low vram. rtx 3060, rtx 3070, gtx 1070, gtx 1080, rtx 4050, rtx 4060, rtx 5050, rtx 5060 — any 6-8gb consumer gpu, old or new — this model runs on it. world cup season, so i told it to build a soccer themed flappy bird clone. one shot, zero iteration, fully playable. six months ago an 8gb model could barely clone vanilla flappy bird. now it's shipping a themed game from a sparse MoE model running locally on a laptop battery. inference benchmarks: - decode throughput: 30 tok/s - context: 64k. this is the real unlock. 64k ctx is what makes a hermes agent loop viable locally on this model, not just single-turn chat. llama.cpp flags: -m gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf -c 64000 -cmoe --port 8080 game's deployed on my own site, built and shipped end to end with open source llm, zero closed source api dependency in the pipeline. link in the description. gguf weights on huggingface, link in the comments. pull it down, run it on whatever 8gb card is sitting in your rig. try the game and tell me your score and what you want in v2. local llms on consumer gpus stopped being a meme.

Alok

62,381 просмотров • 4 месяцев назад