[Engine] strata-hy4: expose the expert tier placement in /v1/status (VRAM / RAM / SSD counts)

Aperta
#7,364 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

Start at the /v1/status handler and trace how it builds the vram object, then find where the loader computes expert placement for VRAM, RAM, and SSD. Check how multi-GPU placement is represented and add the tier counts and GB to the status response; done when the endpoint exposes those values for single- and multi-GPU runs, including SSD spill.

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

Descrizione

A small observability gap, found while bringing Hy4-Flash up on gfx906 (#7121) and serving it on real hardware since: 2x Instinct MI50 16 GB, 128 GB RAM, Hy4-Flash SQ-128 at 262144 context, layer-split over both cards.

What happens

/v1/status of strata-hy4 returns a placement-blind vram object:

"vram": {"elastic": false}

while the engine knows exactly where every expert sits — the load line of the same run in the engine log reads:

[load] multi-GPU experts (2 GPUs): total 2647 in VRAM (16.07 GB: GPU1=0/0.00GB, GPU0=2647/16.07GB), 18345 in RAM (89.69 GB), 0 on SSD (0.00 GB), 5.0 s

None of that reaches the status endpoint, so the monitor's "Experts in VRAM" tile renders -- for the whole run while the hardware tiles beside it are fine.

Suggestion

Expose the tier placement the loader already computes — expert counts (and GB) for VRAM / RAM / SSD, per-GPU for multi-GPU — in the vram object of /v1/status. That would also make an accidental SSD spill (the coldest experts falling out of the RAM tier, e.g. through caps like #6792) visible at a glance while serving, instead of only in the log.

Happy to test a candidate field on the MI50 box.

Lingua principale
C++
Stelle
11.6k
Fork
1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Niko1221/Strata

Tutte le issue di Niko1221/Strata

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.