r/opencode • • 29d ago

👀 About DeepSeek and quantization...

Post image
284 Upvotes

59 comments sorted by

View all comments

Show parent comment

0

u/ZveirX 29d ago

No, KV cache is far more sensitive to quantization than the model itself. Hence it is recommended to not go lower than FP8 or Q8 for KV cache.

4

u/confused-photon 29d ago

https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash

Bro read the model card, CSA2 uses fp4 kv cache

1

u/ZveirX 29d ago

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

2

u/Low-Locksmith-6504 28d ago

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

1

u/confused-photon 29d ago

Same as with expert weights, packing 2 fp4 into single fp8 value perhaps then?

1

u/ProductResident4634 28d ago

Deepseeks v4.1 flash model card says they use NVFP4 kv cache