r/opencodeCLI • • 29d ago

πŸ‘€ About DeepSeek and quantization...

Post image
387 Upvotes

61 comments sorted by

View all comments

Show parent comment

11

u/flying-saucer-3222 29d ago

Yes it does, especially aspects such as caching are much worse even if you use Deepinfer, the inference framework open sourced by DeepSeek.

DeepSeek has some of the best researchers in the world and they are the state of the art at KV cache management. Aside from that there are a myriad of other things such as how they configure their hosting architecture and load balancing.

Opencode can obviously not match DeepSeek in these, for example, caching on DeepSeek API is probably better than even OpenAI or Anthropic.

3

u/[deleted] 29d ago

[removed] β€” view removed comment

8

u/flying-saucer-3222 29d ago

I am not talking about cache hit rates, I am talking about how the prefill computes the KV cache to feed into the transformer which can affect output quality. DeepSeek has not opensourced how the prefill and KV cache works on its API

4

u/EstarriolOfTheEast 29d ago

I'm skeptical about how impactful that'd actually be in practice. And indeed, a study by Vals.ai found no statistically significant difference among those tested. While Opencode was not among the tested, it does show that Deepseek has no secret advantage when it comes to accuracy.

I think this is similar to claims made against OpenAI and Anthropic that models are being nerfed over time that haven't been proven empirically.

You are right, however, that there are significant differences in cost, speed and cache hit rates.

1

u/flying-saucer-3222 29d ago

If there is a difference due to caching, it would only be noticeable in long context tasks like coding. What we know for sure is that the inference kernel is not identical to that of the official API so there would be deviations in the output.

I agree that a lot of it is baseless rumors and confirmation bias with people. I haven't personally seen major differences between official API and OpenCode Go. But the inference is not at the level of the official API, which is to be expected.

2

u/EstarriolOfTheEast 29d ago

Can you explain what you mean? I'm struggling to picture this being a realistic issue. Once the implementation is seemingly correct, what in the code do you expect to still remain an issue?

1

u/AkiDenim 24d ago

I would say you’re underestimating ant and oai
But i agree to DeepSeek being absolute system geniuses

But DeepInfer does lack some systems that seem to be intentionally missing