Which vlllm image works best for DeepSeek 7/31 on 2 Spark ? And why does caching behave so inconsistently?

Hi everyone,

I’m running the DeepSeek V4 Flash 7/31 on a 2‑node Spark cluster. I’m trying to figure out which vllm image or recipe would give the most stable performance.

Currently, I’m using the anemell image . I’ve noticed a very strange caching behavior:

  • Sometimes, the prefill phase hits the cache and finishes extremely fast – in just 1–2 seconds.

  • Other times, for no apparent reason, the cache is missed completely, and the prefill then takes several minutes – sometimes even tens of minutes – to complete.

I haven’t been able to pinpoint why the cache is dropped or not reused in certain runs. It feels random, and it’s making the inference pipeline unreliable.

Has anyone else experienced this with the July 31 version on Spark?

  • Which image or setup do you recommend for a 2‑node environment?

  • Are there specific configuration flags (e.g., for KV cache, attention implementation, or Spark memory/executor settings) that can enforce cache hits or at least make the behavior more predictable?

Any insights, workarounds, or debugging tips would be greatly appreciated. Thanks in advance!

Have you compared your experience with the DSpark model? I use aidendle94/sparkrun-vllm-ds4-gb10 (production-hybrid-1.1), the starting script I am taking is from 0rand, I do a little tweak, such as make a little space to run additional vision code. The hybrid-1.1 is working on both dspark and 0731, my main experience is with dspark which I’ve been using with reasonix for quite a long time. 0731 is just 1 day old, I see it is better than dspark from my benchmark test (not a big jump, but slightly improved), I am not sure if 0731 contains vision ability.

i run next to deepseek AND my RAG Qwen3-VL-8B, this is working really good with my use case of extracting info from screenshots, mostly numbers, if you cant check quickly i could check one picture for you with your specific prompt as claude build a test instance for me to see results before putting it to prod