Prefill logs freeze and delay until ~50% progress during tool-use prompts - 2 x DGX Spark Tensor parallelism Deepseek V4.1 flash

Aperta
#1,078 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

Start by reproducing the tool-prompt prefill behavior with the supplied ds4-server command on the 2-node tensor-parallel RDMA setup. Inspect the prefill progress around the logged TOOLS prompt start and determine what accounts for the delay before the 32768/56603 chunk; done means the cause is identified and prefill progress no longer freezes or is unexplained.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi Salvatore,

I am testing DeepSeek-V4.1-Flash on a cluster with 2x DGX Spark nodes. The decoding speed is around 18–20 tokens/sec, and prefill is roughly 400 tokens/sec, but I'm encountering some strange behavior.

Sometimes after a tool prompt starts, no prefill chunk information is logged, and the execution freezes without producing any output. After a few seconds, logs suddenly resume at around 54-58% prefill (this behavior is fairly consistent across prompt starts).

This behavior is often linked to a very slow prefill.

Here is an example:

0918 09:16:36 ds4-server: live kv cache miss live=56255 prompt=56603 common=55913 vision=match reason=token-mismatch
0918 09:16:36 ds4-server: chat ctx=0..56603:56603 TOOLS prompt start
0918 09:17:54 ds4-server: chat ctx=0..56603:56603 TOOLS prefill chunk 32768/56603 (57.9%) chunk=0.00 t/s avg=417.95 t/s 78.401s
0918 09:19:03 ds4-server: chat ctx=0..56603:56603 TOOLS prefill chunk 55296/56603 (97.7%) chunk=326.42 t/s avg=375.10 t/s 147.417s
0918 09:19:14 ds4-server: chat ctx=0..56603:56603 TOOLS prefill chunk 56603/56603 (100.0%) chunk=124.35 t/s avg=358.41 t/s 157.928s
0918 09:19:14 ds4-server: chat ctx=0..56603:56603 TOOLS prompt done 157.932s

Any idea what might be causing this issue?

For context, I am running the server with the following command line:
./ds4-server --cuda -m gguf/DeepSeek-V4.1-Flash-Q2.gguf --ctx 300000 --tensor-parallel --role coordinator --listen 10.10.10.1 9911 --transport rdma --port 8000 --host 0.0.0.0

Lingua principale
C
Stelle
24.4k
Fork
2.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di antirez/ds4

Tutte le issue di antirez/ds4

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.