r/opencode • • Nov 04 '26

CRAZY things are brewing

Post image
1.4k Upvotes

210 comments sorted by

View all comments

47

u/Cyvster Nov 04 '26

1 bit quant?

88

u/Linkpharm2 Nov 04 '26

No, they figured out how to split the integer. We now have 0.5 bit.

5

u/ShaderCompilation Nov 04 '26

Isn't this nuclear type shit?

9

u/BlockApoc Nov 04 '26

Mhm will nuke any code base it touches

16

u/Gohab2001 Nov 04 '26

No, DeepSeek is just stupidly optimzied.

https://inferencex.semianalysis.com/run/deepseek-v41-flash-on-b300

$0.002/1m tokens

9

u/Railander Nov 04 '26

they don't quant the models, they've said so many times before. if they ever do, they would make that transparent.

17

u/domiciledhere Nov 04 '26

That’s an illogical assertion.

14

u/Railander Nov 04 '26

10

u/narasadow Nov 04 '26

Dax is.... flighty at best

nothing he says is binding

6

u/FullstackSensei Nov 04 '26

You can always cancel anytime. It's not like you're signing a 2 year contract.

The model is indeed insanely efficient. 97% of the model is already FP4 with the remaining 3% at FP8. Quantizing it further doesn't make the model much smaller. On top of that, only half the model (first 20 layers) runs during prefil. That's 150GB. 1M context costs under 1GB in memory.

If you spend a few minutes reading the DeepSeek technical report, you'll learn that they split their prefill and decode sub-clusters, and persist the KV cache on disk for 72 hours. From my own experience using DS API, I get over 99% cache hit. And while the artificial analysis makes it seem like the model is verbose, it is very token efficient 90% of the time.

To give a concrete example: it's been running a long code optimization task for about 48 hours, and I averaged a little over $2/day in API costs.

2

u/narasadow Nov 04 '26

cool, but unrelated to what I was responding to (which was "if they ever do, they would make that transparent.")

I can see them quantizing if they hit a compute cap and people sign on faster than they can serve. Which is not impossible.

5

u/FullstackSensei Nov 04 '26

Did you read anything I wrote? 97% of the model is already FP4, with a lookup table for the values (so, not real FP4). Quantizing the remaining 3% makes zero difference, and quantizing those FP4 weights leads to very quick degradation, still for minimal gains in VRAM usage or speed.

What you're saying would have made sense on a FP16 model using a traditional architecture. What you and others miss is that DS4.1F is different. There's nothing you can realistically gain by quantizing it.

4

u/narasadow Nov 04 '26

Ok apologies

1

u/Embarrassed_OnionX Nov 04 '26 edited Nov 04 '26

I see for example unsloth quants with widely different sizes, so it's possible to save lots of resources by using lower quants. Im not saying OC is using quantized models, but it doesn't seem unreasonable to think they may be.

edit: typo

1

u/FullstackSensei Nov 04 '26

The unsloth quants mainly quantize the engram. The ones which touch the routed expert weights are documented to suffer substantial deviations.

It is very unreasonable to think they may be because further quantization will not yield any substantial gains in speed when you're deploying on Hopper or Blackwell data center GPUs. What little VRAM you save is offset by an increase in compute, which will mostly if not fully negate any gains you might have thought of.

The model doesn't even communicate activations between layers in FP16/BF16. Everything is quantized down to FP8 at each layer's output to further save on bandwidth. The whole model was trained around this. I can tell you from actual personal tests that even quantizing those FP8 activations to int8 (with equal block sized scales) introduced ~9% error at 128 output token length (120 match out of 128), and this is doesn't save a single bit in memory or bandwidth. This isn't theory, I have test fixtures fuzzing for both. I'd love to get the int8 path under 1% for my VNNI-supporting Xeons and my int8-happy P40s, alas that's not possible.

The Unsloth quants make sense for you and me, on a desktop with very limited resources. But in a data center GPU deployment, it makes zero sense because you'll be throwing native hardware support down in the bin.

→ More replies
→ More replies (1)

2

u/tetoing Nov 04 '26

Which is trivial for deepseek, because there's nothing to be gained speed wise by quanting something that's already FP4.

It doesn't mean their inference backend is the same, or that they use the same sampling settings, or that they aren't quietly reducing reasoning effort.

2

u/dat_cosmo_cat Nov 04 '26

Source: trust me bro.

2

u/Additional_Art_24 Nov 04 '26

The idea is. Most people might be does not care if it quant or not as long as the reasoning is reliable. but on that cases. Most of the time is not. Let say there is modal with 1bit quant but their reasoning trace is so smart (kinda like sonnet level). Does people will complain ? ofc not. Whatever the opencode team says, the model is far inferrior to compare to official modal. Then we know, that we can trust them

4

u/Top-Divide-1207 Nov 04 '26

I think you need more practice writing English because your comment is quite hard to understand

5

u/severencir Nov 04 '26

Cut him some slack, he's using the 1 bit quant language comprehension model in his brain

1

u/Additional_Art_24 Nov 05 '26

At least i know other language

1

u/severencir Nov 05 '26

Yo tambien. No se que estas diciendo con esto.

1

u/Additional_Art_24 Nov 05 '26 edited Nov 05 '26

I see. Very good 10/10. Applause.. HORAS

1

u/Top-Divide-1207 Nov 04 '26

K, I wasn't trying to be mean

3

u/severencir Nov 04 '26

I was just trying to be funny. I wasn't getting on to you