Running Gemma 4 26B at 5 tokens/sec on a 13-year-old Xeon with no GPU

209 points
1/21/1970
7 hours ago
by neomindryan

Comments


dwa3592

I have a prediction. By the mid of 2027, we will have >200B MoE models running on basic consumer hardware.

I am running Qwen3.6-35B-A3B locally on my 16GB mac with 7-9 tokens/second. Link - https://github.com/deepanwadhwa/samosa-chat

This is a GPT4 level model running locally with a decent speed on a 16gb ram macbook air.

5 hours ago

smeeth

Probably won't have to wait that long. Prism released Bonsai 27B (https://huggingface.co/prism-ml/Ternary-Bonsai-27B-mlx-2bit) as a ternary model a few days ago, its just ~7GB and runs at 44+ t/sec on an m4 max laptop. That's already in the ballpark of active parameter count of most 200B+ models, so we will get a model like this whenever Prism feels like releasing one.

It is debatable if we will actually need that many parameters though, since recursive nets like HRM (https://huggingface.co/sapientinc/HRM-Text-1B) don't need to parametrize as heavily.

5 hours ago

acchow

We're too easily conflating parameter count with capability. That Bonsai 27B you're running is at 2-bit quantization. Is it really better than the best 10-18B models?

12 minutes ago

dwa3592

agreed!! in my heart i really wanted to say by the end of 2026 but wanted to add some wiggle room in case they start to ban open source AI development.

5 hours ago

notnullorvoid

I mostly agree with the prediction though maybe a bit more pessimistic about the timeline. Also I'm not sure our current usage of parameter count would make sense in this scenario, such a feat would require compressing current parameters in a manner much different then something producing a bit count per parameter. A hypothetical example would be using a single seed parameter per layer which then passed into a noise function produces the functional weights for that layer, able to reduce per weight size to sub bit levels (256 bit seed, producing 16K weights).

5 hours ago

reidrac

> on a decent speed

But you said 7-9 tokens/second, that's not a decent speed. I'm not an expert by all means but in my local experiments, less than 12 to 16 tps is too slow.

5 hours ago

LeifCarrotson

I think that any workflow that requires the user to stare at the tokens being generated live is using it wrong. Delegate, don't stare!

https://mikeveerman.github.io/tokenspeed/?rate=10&mode=text

You think of an idea that you want to have the LLM process, queue it up, and go back to what you were doing. Once you've finished reading the next article on HN about a 5 tps Xeon, your task will be complete. It's kind of like using a 3D printer: It doesn't matter if a print takes 10 hours, because when you come back in the morning it will be done.

Yes, with top-tier GPU farms you can hit hundreds of tokens per second. But if the old Xeon in the closet can get useful work done at 5 tokens per second, there are lots of people and lots of use cases where a free, unlimited 5 TPS stream is worth more than paying a dollars per day to get access to a 500 TPS source.

5 hours ago

dofm

> It's kind of like using a 3D printer: It doesn't matter if a print takes 10 hours, because when you come back in the morning it will be done.

This is how I used to think about my 3D printer, but FWIW the way my actual thinking and planning works, print speed really matters. Not for the final print, but for iterative work and test parts, it is obvious that either having a fast printer helps. Having multiple slow printers also helps, but there are only so many areas of a design you can iterate on at once.

At the moment my own LLM use is experimental and iterative, and I definitely favour the faster MoE models for much of what I am doing, even if I might in principle prefer to get the final work done in the slower ones.

34 minutes ago

RussianCow

Once you've used a model that runs at hundreds of TPS, it's hard to go back. Everything completes so quickly that you can iterate without breaking out of flow state. My biggest gripe with slow (<50tps) LLMs is that I've lost all the mental context I built up by the time it's done, which makes it extremely difficult to explore or iterate on solutions.

4 hours ago

hx8

I'd rather have slower and better output than worse and faster output.

20 minutes ago

ngcc_hk

In 1980s ibm has studied and said why sub-second response needed to maintain the mental flow. That time you send a whole screen unlike unix like character by character. This proves very true even when you deal with form processing. I think that we are dealing with the same issue here.

Keep your mental context in your brain is critical

2 hours ago

Aurornis

> Once you've finished reading the next article on HN about a 5 tps Xeon, your task will be complete.

If I spend 10 minutes reading an article, that would only generate 3000 tokens.

That’s not counting the prompt processing time.

We have very different expectations for LLMs if your tasks only take a couple thousand tokens and you’re happy waiting 10 minutes for it.

> Yes, with top-tier GPU farms you can hit hundreds of tokens per second

My 5090 gets hundreds of tokens per second with this model. No farm needed. I’d have to double check but I think even a $1000 Intel B70 might break 100 tokens per second.

> But if the old Xeon in the closet can get useful work done at 5 tokens per second, there are lots of people and lots of use cases where a free, unlimited 5 TPS stream is worth more than paying a dollars per day to get access to a 500 TPS source.

If that old Xeon pulls 200W from the wall and you pay national average electricity costs, it’s going to cost $0.90 per day to run it.

I would rather pay a dollar per day, get my answers 100X faster, and not have an old Xeon heating up my house.

4 hours ago

zoobab

You could suspend it to ram, and only wake it up on request, it takes 2 seconds on my box.

3 hours ago

Aurornis

It’s not a cost savings relative to paying API prices even if you’re suspending it.

This is an option if you must run local inference, you’re not sensitive to speed, and the budget is low.

It’s not going to be cheaper than paying API prices for the model though.

3 hours ago

allknowingfrog

We clearly have different goals. I want an LLM to review my code, not the other way around.

5 hours ago

pmarreck

I'm sure this exact topic has been argued hundreds of times already on HN, but I think I have a new "possibly agreeable to both sides" perspective on this after having lost man-years to retired corporate code aka "FAIAP, throwaway code"

Let LLMs write the corpo code, as it will be unlikely to still be running in 5-10 years. Frontier AI is already at the point where it writes fewer bugs per LOC than humans. By a lot.

Go ahead and do your bespoke coding on your side-project loves and core libraries... The stuff that will last, anyway.

But if you're working for a corpo and still doing bespoke... That's... not gonna last, I'm afraid. Well, either you remaining there, or that, as it were.

an hour ago

allknowingfrog

There's a whole spectrum of employment between faceless corporations and personal side projects. AI will replace humans because giant business believe they can do the same work, not because they will actually be able to.

The correctness of an application is limited by your ability to understand and describe what you need. We have a word for an application specification tool so detailed it eliminates all ambiguity. It's called a "programming language".

The mistakes are always in the transfer from human to machine. I still find a high-level programming language to be the best way to express my intent. Humans will make mistakes in the hand-off to AI just like they make mistakes in the hand-off to code, but at least code is deterministic.

21 minutes ago

nolok

It's still the same thing, you can ask it to do a full on report give explanation and details be thorough and then go do something else, another task a lunch break whatever and it will be done when you're back

4 hours ago

Aurornis

> another task a lunch break whatever and it will be done when you're back

At 5 tokens per second and unknown prompt processing speed, you may need a very extra long lunch break depending on your codebase.

2 hours ago

allknowingfrog

How do you maintain a flow state during a lunch break? I'm looping with Claude on a scale of minutes. While you're waiting, I'm iterating.

3 hours ago

vitally3643

This is like comparing a hammer to a screwdriver and feeling smug because you can hammer nails faster than someone else can drive screws.

These are fundamentally different tools for entirely different applications. They only look similar to people who don't understand the tools or their purpose.

3 hours ago

allknowingfrog

This thread started with me saying "we clearly have different goals" and then being told that I just need to hold the screwdriver differently...

41 minutes ago

fwip

You don't "maintain flow." You eat lunch.

I swear, tech culture has gotten people wanting to work for the machines, rather than the other way round.

an hour ago

allknowingfrog

This was a discussion about LLM usage patterns. I'm not opposed to lunch breaks. I'm opposed to being required to take the equivalent of 12 lunch breaks a day while I wait for slow responses.

36 minutes ago

ClikeX

Right? Tech should make my work easier. Not have me stressing out even more.

Let the machine do its work while I relax, I’ll check up on it later.

30 minutes ago

adastra22

We aren’t there yet. Not for frontier development work at least.

5 hours ago

bredren

Except often queued agentic flows must be checked in on. Or to use the comparison, 3D printers are not immune to making spaghetti all night when something goes wrong. (I’m not a 3d printing expert so maybe that is solved now)

It is common for agents to just stop because overload or some API error hijinks.

Or you get a TUI question that is blocking.

In general you’re right though, staring at tokens from agentic is not time well spent.

Some of these I’ve built custom harness around in iterm2 though.

3 hours ago

bitpush

is there a good tool to manage these workloads? batch process a bunch, handle failures, retry things etc?

5 hours ago

varispeed

Filament snaps at 1am and then you have to run print again. 10 hours turn into many days potentially.

I watch tokens to see if it goes in right direction. If model goes off the rails, then it is time to stop and adjust prompt.

2 hours ago

aziis98

For me, at least for agentic use, you need at least ~40tps. Less might be good only for tasks you could run in the background (like at night maybe).

Instead of coding agents like tool for local models I would like to see more "docker ps" like tools where you can queue up tasks that get processes incrementally (maybe when the pc i idle) and are specialized for doing retries and caching as much work as possible to work decently with slow local models.

5 hours ago

kevincox

I think 10 t/s output is usable for many coding workflows if the input speed is much much higher (~100 t/s is a rough minimum line). The low output speed can really hurt for heavy reasoning output but it can still be used to get some jobs done as long as you don't expect highly interactive use.

16 minutes ago

ClikeX

The slower models seem fine for home lab usecases such as processing document transcriptions and tagging them, for example. I don’t need that to be live, it can just churn overnight.

27 minutes ago

dwa3592

i am working on making it faster but to me 7-9 tokens/sec feels very good. it was 0 tokens/sec a year ago.

5 hours ago

jckahn

Ignore the haters. What you've done is incredible!

5 hours ago

Aurornis

If you’re interested in these projects you should check out the project this was based on: https://github.com/JustVugg/colibri

It says so right in the readme. They’re not hiding anything.

4 hours ago

Wowfunhappy

How fast does a human write code?

an hour ago

sigmoid10

It's fast if you want to automate things that run independently or overnight. It's slow if you want to iterate code together with it.

an hour ago

bigyabai

Yep, and we don't even know how long they spent on prefill. A typical 50-100k token session could take 10-20 minutes to prefill on a Mac.

Pending any new hardware or radically different LLM architectures, we're going to be waiting a lot longer than 2027 for 200B models on local hardware. SOC platforms like Apple Silicon are hamstrung by their obsession over raster performance, the hardware lacks the fundamental GPGPU hardware to be a replacement for real-world inference.

5 hours ago

Aurornis

> I have a prediction. By the mid of 2027, we will have >200B MoE models running on basic consumer hardware.

This prediction alone isn’t useful at all without a bound on speed and maybe quantization.

You can already run >200B MoE models on basic consumer hardware by picking a low bpw quantization and then streaming the experts from SSD. There have been a lot of proof of concept demos, but nobody uses them because they’re so slow and the quality is so degraded.

If you’re saying that hardware will catch up by mid-2027, I disagree. The limitation is fast memory and that’s going to be expensive for a while. I have a 128GB unified memory machine that can technically run 200B MoE models with enough quantization, but it’s so slow that there’s no reason to do it. It’s going to be a few years before we have enough RAM and processing power in basic consumer hardware without spending as much as a used car to get it.

> This is a GPT4 level model running locally with a decent speed on a 16gb ram macbook air.

Sorry, but 9 tokens per second with a slow prompt processing speed is not decent for anything other than getting short chat responses.

You’re also not running the full GPT4 quality model. I’m very familiar with that model from some other work and the 4-bit quants are just not as good as all of those KL divergence plots would have you believe.

You also have very short context. It’s basically useless for anything more than short chats where you’re okay watching the output come back at reading speed, skipping the reasoning part (which is important for calling it GPT4 level quality), and waiting a long time for the first token.

Yes, it’s technically running, but not in a way that would be useful by normal LLM standards.

4 hours ago

dwa3592

>>Yes, it’s technically running, but not in a way that would be useful by normal LLM standards.

What are the LLM standards?

Do you know how many people use perplexity? I know many people who are not software engineers or tech workers and have a LLM subscription for rewriting their stuff (non-native english speakers) in english. There are many use cases for running good models locally. Maybe not for you, but someone might find this beneficial.

2 hours ago

Aurornis

I have a free perplexity account from some promotion. Not sure what comparison you’re trying to make because Perplexity’s whole thing is that it’s really fast. It launches the search with parallel agents and then even seems to render some of the output paragraphs with parallel sessions to get the results.

Doing the same thing at 7-9 tokens per second, concurrency of 1, would take ages for all of the tool calling and subsequent processing.

It wouldn’t compare in any meaningful way, because perplexity delivers instant results. That’s what I meant by modern standards of LLM usefulness.

39 minutes ago

dwa3592

Its really easy to argue against local models because when it comes to quality, you can argue using the tokens/sec. and when it comes to speed, you can argue using the parameter count. This is not compared to the frontier stuff but it is the frontier of last year that now runs on a local machine. It was impossible to do this last year.

6 minutes ago

felineflock

That is awesome!

I am curious about the decision to not use GPU since this is for Apple Silicon.

Wouldn't the GPU potentially accelerate the DeltaNet/attention layers and matrix multiplication in general?

2 hours ago

dwa3592

It will, but the process at this point is SSD bound rather than compute bound. On a bigger machine, Apple silicon must help but I don't have a bigger machine. I can think about this more and will make changes if that helps.

an hour ago

TYPE_FASTER

Downloading now just 'cause the repo name

3 hours ago

haute_cuisine

How are the thermals? I noticed that running any serious workload locally heats system fast.

5 hours ago

dwa3592

i have been optimizing for that. for now samosa is capped at using half of the avaiable cores and switching between them, which keeps the system 'less hot' as it would have been. i will also release better thermal control in the next release. at this point its basically sacrificing about 20% of the speed to keep the hardware less stressed (and hot).

5 hours ago

embedding-shape

> I am running Qwen3.6-35B-A3B locally on my 16GB mac with 7-9 tokens/second. Link - https://github.com/deepanwadhwa/samosa-chat

It's quite telling you didn't use Qwen3.6-35B-A3B locally to build that, seems there was another collaborator ;)

Show something you've built with the model+tooling instead, truly dogfood it. I'm sure you'll discover things along the way too!

5 hours ago

smith7018

Nothing says they're using Qwen for local development. They could be using it to for conversations, knowledge, or "creative writing."

5 hours ago

embedding-shape

> Nothing says they're using Qwen for local development

I know! That's my point! You're a poor salesman of a coding environment/tool if you don't even use it yourself for coding...

an hour ago

dwa3592

>>It's quite telling you didn't use Qwen3.6-35B-A3B locally to build that

that would have run into a race condition unfortunately ;)

but there is a sample landing page + a python function on the repo which shows what the model produced. my goal is to integrate the local model in my workflow so that claude/OAI can call this model for basic stuff.

5 hours ago

embedding-shape

> that would have run into a race condition unfortunately ;)

Not really, you start small, bootstrap as soon as you can, and off you go. Requires a good model though ;)

an hour ago

typon

By early 2028, major players like Intel, AMD, QC will ship accelerators in consumer laptops capable of running ~1T MoE models at ~100 tok/s

3 hours ago

veber-alex

Literally the only way this is going to happen is if aliens come to earth and gift us some amazing technology.

2 hours ago

kennywinker

Unless there are major improvements to how much hardware it takes to run a 1T model, this is deeply unrealistic. First because why release hardware that puts your biggest customers (data centers) out of business. Second because as I understand it the data centers have bought up all the high end chip production capacity for at least the next year and unless the bubble pops that'll continue for a while.

2 hours ago

iwontberude

Because for the company that will actually do it, their biggest customers aren’t data centers they are iPhone owners.

2 hours ago

kennywinker

First off the math doesn’t math. Datacenters are willing to pay $50k for a single high end GPU. If you have unlimited capacity, yeah sell millions for $100 a pop or $10 a pop or whatever the bom cost of a phone GPU would be - but if you have limited capacity, you’re gonna sell all of that to the customer who is willing to pay the most PER UNIT.

Second off, this doesn’t work from a power consumption standpoint. When I run qwen3.6-35b, a far smaller model than op is suggesting, power usage spikes to 150-200W during inference. To fit a 1T model in the palm of my hand, the amount of processing required doesn’t fit the amount of power available.

Now I’m not saying this will never happen - there are some great leads, e.g. burning models directly on to a chip - but op’s scenario is definitely not happening in two years. Maybe 5, a lot more likely 10, unless of course local ai is made illegal

11 minutes ago

Capricorn2481

I tried Qwen3.6-35B-A3B, but it couldn't generate a 50-100 line Clojure file without having broken parens mismatches. I know Clojure isn't super popular, but the syntax is pretty simple and the frontier models do fine with it.

5 hours ago

Azantys

You are comparing a 35B models to a 635B+ frontier model, of course thats not even close

5 hours ago

Capricorn2481

I'm not lamenting that they aren't close, I'm saying Qwen will frequently output code that isn't even syntactically correct, even when the syntax is simple. Which makes it unusable for coding.

3 hours ago

IsTom

To be fair, they don't have the text editor highlighting all the matching parens. I'd be lost too.

3 hours ago

Capricorn2481

Yeah prediction models and many parentheses are probably not a good combination, but we're not talking about anything exceptionally complicated here. I have had syntax issues in Python as well.

2 hours ago

Azantys

It really depends on the language, popular languages work pretty good

2 hours ago

segmondy

try q8, check your parameters. qwen3.6-35b-a3b should definitely be able to do so with no issues at all.

3 hours ago

rvz

> I am running Qwen3.6-35B-A3B locally on my 16GB mac with 7-9 tokens/second.

That is no where near decent at all.

5 hours ago

dwa3592

it's a 16GB machine. i am proud of this machine so far.

5 hours ago

hagen8

Some ppl don't like to hear it. But I would assume that token costs when using an inference provider are cheaper than electricity of using locally.

If we just take into account output token generation for simplicity. With 5tps u get 18k tokens an hour. That would costs around 0.005USD from an inference provider.

I estimate that the server consumes probably around 500W during inference.

In Germany where 1kwh cost around 0.3USD, 18k tokens inferred locally would therefore cost 0.15USD which is 30x the costs of using an inference provider.

But for ppl who worry about their data, running locally might still be good. However, they should be aware, that it is much less efficient than using an inference provider.

The efficiency gap will also significantly increase as new GPUs will make inference much more efficient.

EDIT: I first thought it'd be 180k token, but thanks to someone mentioning in the comments, it is 18k. I guess with that, it will be tough unless u got electricity almost for free. Also, the inference providers are probably still using H200/H100 for those small models. Once they use GB300 or next year the new Ruby GPUs, inference will be cheaper by a factor of 30. By then, running local models will mostly be about privacy.

5 hours ago

bischofs

I don't pay anywhere near 0.30usd in the US - I pay half that off peak and can buy 1000$ worth of batteries to load up on super off peak (0.11usd). Also the inference providers are fighting over market share with huge debt loads so they are definitely going to go up in price.

5 hours ago

hagen8

Inference costs will go down massively once they use the upcoming GPUs. I estimated that a model like GLM5.2 will be around 0.03USD/M output tokens in 2 years when the Feynman GPUs will be available in 2028. And this did not even consider architectural efficiency improvements. In mid 2027 we will already see a 10x reduction once everyone has switched to the Ruby architecture.

It will be feasible for everyone to have 20 different agents running at all times. A new world is coming

3 hours ago

amanaplanacanal

Yeah I had to check, I'm paying 0.08usd per kwh. This is in the US PNW with quite a bit of local hydro power.

5 hours ago

brewtide

It's all relative. On the opposite coast, Maine it is ~ $0.28 cents kwh including getting it there. (~ 50% energy, 50% delivery). It's too darn expensive here.

4 hours ago

throwawayffffas

I run qwen 27b at home when working it pulls around 400W. I get 40ish tokens per second generation and more importantly about 1000 tokens per second prompt processing.

In an hour it can process 3.6 million tokens or generate 144000 tokens. This costs me about 15 cents given my electricity prices.

For sonnet the equivalent token costs are 7.2 dollars for the prompt processing or 1.4 dollars for the generation. The cloud is 10x more expensive for generation and close to 50 times more expensive for processing.

an hour ago

sosodev

Of course efficiency matters, but a lot of people either have cheap electricity or efficient hardware. My AMD strix halo home server can serve Gemma4-26B at like 70 TPS (rough estimate, I don’t remember the exact speed buts its fast af) while only using 100W.

5 hours ago

albrewer

Not OP, but your math is a bit off - I have solar panels :)

5 hours ago

carra

> Some ppl don't like to hear it. But I would assume that token costs when using an inference provider are cheaper than electricity of using locally.

Maybe, but for how long? Prices keep going up, and every new model eats more and more tokens...

2 hours ago

segmondy

don't care, and yeah i don't like to hear it. we don't run local because it's cheaper money wise. we do it for freedom, for privacy and having option makes it cheaper in the long run. if there was no local options, your cloud model would cost much more!

3 hours ago

apitman

It would be more efficient if you had multiple users (or agents) making parallel requests to take advantage of batching, right?

4 hours ago

kylemaxwell

You pay 3x as much for electricity as I do, so the math here is going to work out very differently depending on a lot of factors.

5 hours ago

Waterluvian

Locally I’m looking at about CAD $0.05 per kWh when off peak.

4 hours ago

newusertoday

its 18k not 180k

5 hours ago

bigyabai

It's the "Race-to-Idle" situation all over again. It consumes less power to complete a task faster, whereas using "low power" hardware that draws max TDP for 30 minutes isn't very power efficient.

The privacy nuts have a better leg to stand on, but even then it's hard to believe that they're using on-prem AI to replace SOTA model inference. As cool as local LLMs are, a lot of the stuff people run is a novelty.

5 hours ago

hparadiz

Here's my report running several different models on a dual Xeon with 256 GB of DDR4 and no GPU.

https://gist.github.com/hparadiz/f3596d00a62d8ebb2dadcc46ee5...

6 hours ago

puzzlingcaptcha

Have you tried with a single CPU to get rid of the NUMA penalty? I understand this likely means halving the memory but I am interested in how much of a difference it makes

6 hours ago

trollbridge

I have (192GB machine with two CPUs), pretty much does the trick. It just runs some small models used for embedding, etc. and has those on one CPU / memory node and all the Docker containers on the other one.c

6 hours ago

ryandrake

I have a dual xeon also, same as OP: Ivy Bridge + 128GB DRAM, and was never really able to get decent LLM performance out of it. So I ended up biting the bullet and adding a "budget tier" A4000 20GB GPU. Too bad all my DRAM is wasted now--not sure if there is a way to take advantage of lots of DRAM once you move over to having inference happening on the GPU.

5 hours ago

neomindryan

Thank you for sharing!

6 hours ago

Aurornis

A dual Xeon of this era is probably pulling 300W or more when loaded.

At national average electricity prices, that’s $1.35 per day. More during the summer if you have to cool the space.

If you run it 24/7 and ignore prompt processing time (not a good assumption at all) it would get around 400,000 tokens in a day.

That’s about $0.30 per million output tokens.

Coincidentally, that’s the same price for this model on OpenRouter right now, but OpenRouter token gen will be 8X faster.

There are a lot of good reasons to experiment with running LLMs locally, like if you don’t want any data leaving your house.

Don’t think that you’re going to come out ahead monetarily. I say this as someone with a lot more money invested in local inference hardware at home. It’s fun, but it’s not a way to save money.

4 hours ago

brailsafe

Reasonable analysis, especially because this person seems to have an actual house. In my case, I rent and don't pay for electricity directly, so the cost effectiveness threshold is whenever the landlord starts complaining

3 hours ago

twsted

I think, may be actually wrong, that most of us do not consider running a model locally a way to save money. It is a way not to spread personal info around.

3 hours ago

Aurornis

Anyone running LLMs at home will come to that realization quickly, if they’re looking at their power bills. Even feeling the heat output of a computer running at 100% in your office makes it clear.

I was responding to a lot of the comments saying this was a reasonable way to avoid paying for tokens or subscriptions. I don’t want anyone getting the wrong idea that this is a way to save money if that’s their priority.

3 hours ago

euio757

> Even feeling the heat output of a computer running at 100% in your office makes it clear.

What does it make clear? That I can replace the space heater my wife runs 9 out of 12 months of the year with a home server? And effectively get $0.00 per token during those times?

In houses running A/C year round, sure there'd be some impact, but in all the places running heat, doesn't seem that it'd move the needle on power bills.

There are startups whose entire business model is "cloud server as a home space heater" (aka "data furnace") ...

3 hours ago

Aurornis

> What does it make clear?

That it’s pulling a lot of watts.

Good for you if it’s replacing electric space heaters.

2 hours ago

bitexploder

It gets better in the cooler months when heating is running in a home :)

3 hours ago

throwaway2027

That's quite slow I'm getting 8-12 t/s on a 13 year old CPU. (Speed varies by context size and other settings who knows)

https://news.ycombinator.com/item?id=48354801

7 hours ago

neomindryan

Thank you for sharing / linking!

6 hours ago

tuwtuwtuwtuw

But OP is using Q8 and you're using Q4?

5 hours ago

neomindryan

Author here, it looks like my original comment was flagged for some reason. The fix is open upstream as PR #2138 (https://github.com/ikawrakow/ik_llama.cpp/pull/2138)

7 hours ago

broabprobe

I run the same setup Gemma 4 26B on a 2013 Mac Pro (dual graphics cards but they're useless for this). I also get about 5 t/s. It's perfectly serviceable for some tasks!

5 hours ago

sjs382

I bought a trashcan Mac Pro on a whim last week ($120 in eBay!) and did some reading about them—it turns out people recently started using the GPUs to run models @ 20-30 tok/s.

I'm excited to get my mitts on it on Friday when it finally arrives.

Here's some of the resources I came across if you're interested in reading.

https://echalupa.com/blog/mac-pro-6-1-llama-cpp-firepro-d300...

https://matthewgribben.com/blog/mac-pro-6-1-llama-cpp-firepr...

an hour ago

kzrdude

What is it useful for at slow speed?

4 hours ago

deltamidway

He's shown me his set up in his basement. It's sick! Talk about your 3d printer next!

5 hours ago

throwawayffffas

The 5.2 tokens per second generation is not that bad, what kills it is the 16.2 prompt processing that makes this too slow to consider even if you have the hardware lying around.

2 hours ago

rhema

I love my little dual core X99 board with Xeon E5 2673 V3. It's not power efficient, but I just leave it in my basement for local Jupyter Notebook stuff. Much faster than everything cloud-based for a reasonably price at my scale.

3 hours ago

jeswin

The transformer architecture is fundamentally unsuitable for local inference, while being efficient at scale. It's a fun experiment to try, but that's about it.

5 hours ago

thomasjb

I was inspired by that post also, got a Qwen Coder 1.5B up to 27tok/s prompt eval and 13tok/s decode on an e5-2650v2 inside a GNOME box

4 hours ago

rrhjm53270

Good job. Thanks for sharing. I have a similar NAS server with 2 Intel(R) Xeon(R) CPU E5-2699 CPUs. I will test as well.

4 hours ago

mmastrac

Is it just me or does this post not mention how much RAM they had? I would love to know - I have a dual-Xeon 1U screamer with 96GB of DDR4 RDIMM just sitting around...

FWIW I'm getting a hardware max of 20 tok/s (approx topping out the GPU's compute) on my custom local diffusiongemma port running on an M3.

6 hours ago

neomindryan

hey, I’m the author. That box has 384gb, but loading the model “only” uses about 80gb.

5 hours ago

fouc

any reason you went with q8 over q4? I'm wondering if q4 would run noticeably faster or not.

5 hours ago

giantrobot

Token generation is nominally bandwidth limited. Prefill/prompt processing is nominally compute limited.

For CPU inference on old hardware I don't think q4 offers any benefit over q8 since the AVX unit doesn't support such small floats. I don't even think AVX supports 4-bit int math. IIRC AVX2 does.

a few seconds ago

superkuh

Such a system is RAM bandwidth limited and not compute limited Switching to q4 from q8 would decrease the amount of data needing to be loaded by half. The token generation rate would nearly double. But generally if you can do q6 or q8 and you have enough RAM you really should. Even if it's slower.

5 hours ago

simonw

How much RAM did this need?

3 hours ago

aniwalunj

Truly amazing. This gives a peek into the future for what's possible.

7 hours ago

robotswantdata

Need to run this on my Xeons with AMX

5 hours ago

ChrisArchitect

Related:

A 10 year old Xeon is all you need

https://news.ycombinator.com/item?id=48353348

6 hours ago

TacticalCoder

Yes and a 10 year old Xeon is going to be a v4 (not a v2 as in TFA) and it's going to have DDR4 ECC, not DDR3 ECC.

I've got a 14 cores / 28 threads Xeon from 2015 that I use as a server at home (ZFS / VMs).

It's really a sweet machine.

For ricing I've got a semi-recent AMD 7700X / DDR5 RAM (from 2023 ?) which is my main machine but the real deal is my old and trusty 10 years old Xeon server.

DDR4 ECC is pricey too atm but a 10 years old Xeon is basically free now.

A 20 cores / 40 threads costs maybe 20 USD (for just the CPU). Slap that in a $100 old HP Z440 workstation and you're good to go for quite a few workloads.

Mine is only on when I'm at my computer: it's not turned on 24/7 but more like 8/7 so the entire "but it consumes energy" point is moot.

29 minutes ago

okokwhatever

To me context means everything. Tokens per second is a great metric but in the real world context window is the deal breaker when a real use case is on the table.

5 hours ago

dofm

Gemma 4 26B is capable up to 256k or 262k, can't remember which.

Whether the writer's setup affects that choice I don't know.

5 hours ago

rvz

...and how many servings can this do?

5 hours ago

neomindryan

Author here. The short version: a viral post ran Gemma 4 on a 2016 Xeon; my Xeons are 2013, and the fork it used assumes AVX2, which Ivy Bridge doesn't have. The build failure was easy. The fun bug was the silent one: two MoE graph ops with no dispatch case on non-AVX2 builds, so every expert FFN output was uninitialized memory. Deterministic, NaN-free, fluent-looking multilingual gibberish.

The fix is open upstream as PR #2138 (https://github.com/ikawrakow/ik_llama.cpp/pull/2138), awaiting review. Fair warning on the AI angle: the patch was written by Claude at my direction. The post is explicit about which parts were me and which weren't. Happy to answer questions about either the bug or the workflow.

7 hours ago

otherjason

This reads as pretty clearly AI-generated text, which is against HN guidelines.

6 hours ago

FL410

The PR? He said it was AI in the comment you replied to...

I don't think the post itself reads like AI at all, but that's just me.

6 hours ago

twoodfin

The post is absolutely LLM-generated. “Punchy” short sentences, “… has quietly come to mean …”, “The optimized paths weren’t there to execute.”

3 hours ago

logicallee

I think "this" refers to its parent comment. Part of it sounds like Claude wrote it. AI-generated comments aren't allowed on HN.

5 hours ago

otherjason

Indeed, I was referring to the parent comment.

4 hours ago

pkghost

Here's the thing: life also imitates art. If you invert your load-bearing assumption, it could be that he just reads too much slop. But my honest take? You might be right.

6 hours ago

dofm

stopitgetsomehelp.gif ;-)

5 hours ago

rvba

Apologies for asking here but literally nobody knows:

Android studio connected to a local model disconnects automatically after 10 minutes. How set this limit to 12 hours or remove it completely?

I could run my LM studio model all night... but I cant, since Android studio times out after a hard limit of 10M.

This is not related to number of tokens.

I tried Googling, searching for settings in Android studio, even created a stackoverflow post - but zero information. Jetbrains mentions "remote agent timeout mechanism" - but after changing it, nothing happens.

6 hours ago

NortySpock

If the local model is served via ollama, there's a default timeout of 10 minutes , which can be adjusted either per-call , or (as I did) in the systemd service environment variables

https://docs.ollama.com/faq#how-do-i-keep-a-model-loaded-in-...

You didn't specify what was serving your local model.

5 hours ago

rvba

Thank you for your reply. I use LM studio (local server), but can switch to a different tool.

Do you know how to switch it in LM studio?

What I see is that: android studio gives "Error: stream failed" and in LM studio server I see it is still working, then says that client (=android studio) disconnected.

So I assumed it was a setting in android studio.

4 hours ago

NortySpock

Dunno, I have not used either of those. (Had been using zed and ollama, and ollama had plenty of odd defaults that needed fixing)

Glancing through the docs, I would be digging down in the config of both Android studio and lm studio for either a TTL or jit auto evict setting, and if you find it, set it to some large number measured in hours?

https://developer.android.com/studio/gemini/use-a-local-mode...

https://lmstudio.ai/docs/developer/core/ttl-and-auto-evict

2 hours ago

indigodaddy

Unfortunately, the post comes off as AI-written. Why not just write your own posts?

5 hours ago

CookieCrisp

Not everyone is as confident in their writing as they are in their engineering

5 hours ago