Reminds me of when gpt oss released. People were crying saying OpenAI released a useless model. Turns out that the kernels were just non-fused and buggy, it was actually miles ahead of any other open weight model at the time. Not to say it didn't have problems
It just occurred to me that it is possible that the KV cache is quantized to FP8. This is the only reasonable way I would see that any sort of quantization would occur aside from what has already been quantized in the huggingface model. This would degrade output, but if this were happening I'm assuming Dax would mention this- unless he's confident that FP8 KV quantization wouldn't result in degraded output.
So you think Opencode is using buggy kernels with an FP4 model? (Meaning not further quantized than the original but still worse than official inference)? I think that's quite likely as well, but I don't totally understand where your comment is going
More like marketing, the fp4 expert have like 1 fp8 block every 32 fp4 block or so (that's what mxfp4 is), and technically the attention (~7gb) are fp8, the engram table should also be fp8. Btw deepseek actual serving kv cache should also be fp4. However, the expert comprise most of the parameters count, so it's fair to call it fp4 rather than fp8. Also like you could just ask your ai to look at the original model checkpoint and it will tell you which part of the model are like which quant.
yeah the fp8 ones on openrouter are the full-fat weights, that's the whole point lol. the quant complaints are all about local ggufs where you're cramming a 200b+ moe into 24gb and wondering why it got dumber. on my 4090 i just grab q4 or q5 and accept the tradeoff, fp8 of anything big is api-only territory for me
Have you ever check the original deepseek release weight, if you haven't, maybe ask your favorite AI to help. The model are MXFP4 expert (the expert comprise most of the active weight) and fp8 are more like the engram table and stuff, more like marketing use to fool dummy into thinking they're getting better than what it actually is. That's why a 550b parameter model + 200b engram table are just 510gb (check the original checkpoint size on HF) on disk. And if you don't know, 750b of fp8 should be more like 750gb on disk instead
fair, i was oversimplifying. whatever they are serving runs circles around what i can fit in 24gb locally though lol, the local quant pain is the same either way
it's great, it gets the job done without too much nudge, what else do you need? opus level inteligence? you're asking too much man. it's cheap, nearly unlimited, it's smart enough.
last week I throw it complex data restoration task and it just do that.
and I use it regularly in my day-to-day job, mind you I'm quite pedantic in terms of AI generated code and I grill the hell of it until it gets right, and lately I do it less and less "correction" because the output just got better.
like what are you doing with these models really? rocket science?
Raw model weight quantization is not the only kind of quantization that exists, there are all kinds of tricks and hacks a model provider can use to accelerate inference at the cost of precision. This does not prove they are serving the same model as deepseek API.
This is false. The FP4 weights are packed in the checkpoint, two per byte (which gets rendered as "FP8"). You can tell by the shape of the expert weights, the hidden dim of the tensor is half of the actual hidden size, because it's packed 2:1.
DeepSeek's system fingerprint literally used to say FP8 kv cache on their deployment, unless they forgot to remove that part from the deployment naming itself. Which would make sense if they corrected it recently since it can't be tracked correctly through md5 anymore
4.1f in general uses a new hybird fp4 KV cache if you open up the original model paper its got some fancy math equations. The model itself runs mixed weights between fp4/fp8 as well. Natively trained that way
It is. There is enough research showing that the sign of th weights is the most important part. There is a difference between naively quantizing a model and integrating into the training.
You said "the same like" - I think there's a language problem here.
"FP4 is the same as FP8" means equal. So that's similar to saying "3.14 = 3.1415926" (which is wrong)
"FP4 is like FP8" is more ambiguous and flexible. That's more like "3.14 ~= 3.1415926" which is much more reasonable.
"The same as" means "identical or effectively identical."
If you mean "almost the same as," you could say "FP4 is effectively indistinguishable from FP8." Or, "FP4 works as well as FP8." I wouldn't have argued with you about those statements, because they're more subjective, and I don't have enough information to agree or disagree.
But "FP4 is the same as FP8" is just incorrect. And "the hardware" has essentially nothing to do with FP4's accuracy, only the speed of processing.
Also, I'm not responding to Dax; I'm responding to you saying "FP4 is the same as FP8." FP4 and FP8 are vastly different in terms of the accuracy of the numbers they represent.
You could argue it's more problematic than that, since floating point isn't linear quanitization like integer. Integer quantization is a lot more predictable, but once you start going down to FP8 and then FP4 your lower bounds start to introduce some pretty extreme rounding errors.
But, it's cool, the person I was responding to apparently thinks I'm a bot now. Cuz I guess bots would think to use an EGA vs VGA image comparison of an early 90s adventure game in a discussion about quantizations lol
People are dumb. You are getting $100 worth of effective usage just by paying $10 is just crazy. Even though it is a bit slow, it gets job done. I've seen that the current model is far better than the old V4.1 Flash. Just spec your tasks properly, have some test units or suites and go you are good to go. It won't hallucinate nearly as people are saying.
It just stinks seeing this subreddit going back and forth insulting other users on it recently so much. There's been a lot of that these past couple of weeks here and it would be good if we helped each other verses continue putting other users down.
50
u/Presstabstart 27d ago
Reminds me of when gpt oss released. People were crying saying OpenAI released a useless model. Turns out that the kernels were just non-fused and buggy, it was actually miles ahead of any other open weight model at the time. Not to say it didn't have problems
20
u/torrso 27d ago
Because people parrot what they heard without understanding to appear smarter. Many of them don't even know what it means.
19
u/co-lor-less 27d ago
But many providers are offering FP8 on openrouter??
9
u/candraa6 27d ago
works great for me, idk why people complaining.
it's great, it gets the job done without too much nudge, what else do you need? opus level inteligence? you're asking too much man. it's cheap, nearly unlimited, it's smart enough.
last week I throw it complex data restoration task and it just do that.
and I use it regularly in my day-to-day job, mind you I'm quite pedantic in terms of AI generated code and I grill the hell of it until it gets right, and lately I do it less and less "correction" because the output just got better.
like what are you doing with these models really? rocket science?
7
u/--Spaci-- 27d ago
Deepseekv4 uses a mixed quantization in their offical release. Its not all fp4 or fp8, it is mainly fp4 tho
2
u/tetoing 26d ago
Raw model weight quantization is not the only kind of quantization that exists, there are all kinds of tricks and hacks a model provider can use to accelerate inference at the cost of precision. This does not prove they are serving the same model as deepseek API.
7
u/Wwwhhyyyyyyyy 27d ago
The experts are in FP8
https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017?show_file_info=model.safetensors.index.json
12
u/elitegenes 27d ago
FP4 has inferior performance to FP8, which is what being served via official Deepseek API.
Apparently, "dax" thinks people are idiots.
The famous "hmm hmm" is not just a coincidence - it's a direct indicator of using a nerfed model.
3
u/CYCLONOUS_69 27d ago
People are dumb. You are getting $100 worth of effective usage just by paying $10 is just crazy.
Even though it is a bit slow, it gets job done. I've seen that the current model is far better than the old V4.1 Flash.
Just spec your tasks properly, have some test units or suites and go you are good to go. It won't hallucinate nearly as people are saying.
1
u/TPLINKSHIT 24d ago
so what exactly are OC quantizing except the experts lol