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!