Pipeline parallelism not working for GLM 5.3 Flash Q2 (Strix Halo & DGX Spark)
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
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- backend, distributed-systems
Direzione di ricerca
Start by reproducing the crash with the two commands and GLM 5.3 Flash Q2 model split described in the issue; both instances load and connect, then generation aborts with free(): invalid next size (normal). Trace the pipeline generation path to find the memory corruption and add a regression check for this two machine setup. Done means split generation produces output without aborting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi and thanks for an amazing project.
I'm trying to run GLM 5.3 flash Q2 split in two 128 Gb machines, one is a Strix Halo 128Gb and the other a DGX Spark.
Running the model in one machine only works without an issue.
Splitting the model among the two raises a core dumped before any output is created. One example:
On the Strix Halo:
./ds4 -m gguf/GLM-5.3-Flash-Q2.gguf --role worker --layers 31:output --coordinator spark-QWER.local 9911
On the DGX Spark:
./ds4 -m gguf/GLM-5.3-Flash-Q2.gguf --role coordinator --layers 0:30 --listen spark-QWER.local 9911
Both ds4 instances run, load the partial model, and connect to each other. Yet no output is produced:
spark-QWER:~/ds4$ ./ds4 -m gguf/GLM-5.3-Flash-Q2.gguf --role coordinator --layers 0:30 --listen spark-QWER.local 9911
ds4: Linux cuda backend set oom_score_adj=1000
ds4: CUDA backend initialized on NVIDIA GB10 (sm_121) dev=0
ds4: restricting cuda model map to layers 0:30+output (64 spans, 59.17 GiB tensor span)
ds4: CUDA preparing model tensor mappings: 58.54 GiB
ds4: CUDA startup model preparation covered 59.17 GiB of tensor spans in 10.015s
ds4: cuda backend initialized for graph diagnostics
ds4: memory: KV 0.23 GiB (raw 0.00 + compressed 0.23) + buffers 2.94 GiB + resident model 59.17 GiB = 62.33 GiB planned
ds4: memory detail: ctx=32768 prefill_cap=2048 raw_kv_rows=0 compressed_kv_rows=32768 backend=cuda
ds4: memory: KV 0.37 GiB (raw 0.00 + compressed 0.37) + buffers 2.98 GiB = 3.34 GiB context
ds4: memory detail: ctx=32768 prefill_cap=2048 raw_kv_rows=0 compressed_kv_rows=32768 backend=cuda
ds4: GLM session ctx=32768 (model max=1048576); prefill/work cap=4096; dense attention limit=2051
ds4: GLM graph using compact DSA KV only; expanded full-attention KV cache is skipped
ds4: GLM graph allocating compact DSA cache: rows=32768 logical_ctx=32768 kv_layers=31 indexer_layers=7 f16 0.23 GiB
ds4: GLM compact indexed prefill chunk=2048 score_rows=2048 score_scratch=64.00 MiB
Commands:
/help Show this help.
/think [N] Use normal thinking, or V4.1 effort 0..100 (0 disables thinking).
/think-max Use maximum thinking (V4.1: 100; V4: requires ctx >= 393216).
/nothink Disable thinking mode.
/ctx N Set context size for following prompts.
/power N Set GPU duty cycle percentage, 1..100.
/steer F Set FFN steering for subsequent tokens; no value shows it.
/read FILE Submit a text file, PNG, or JPEG.
/quit, /exit Leave the prompt.
Ctrl+C Stop generation and return to the prompt.
ds4> Hello. What can you do?
free(): invalid next size (normal)
Aborted (core dumped)
Is there any way to make this work? I'm looking into pipeline parallelism as the only way to split larger models that would fit in 256 Gb.
Thank you!
- Lingua principale
- C
- Stelle
- 24.4k
- Fork
- 2.4k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di antirez/ds4
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
antirez/ds4#1189 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
antirez/ds4#1173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
antirez/ds4#1032 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Life-Framework/Life-Framework#5378 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug status: planned ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ChupathingyCE/chupathingyce#2126 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue simulation
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-kind
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
falcosecurity/libs#3173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno