Roadmap question: prefill/decode disaggregation roles, now that the prefix cache pool exists?

Aperta
#160 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva

Direzione di ricerca

This is a roadmap question, not a task: the maintainers need to decide whether prefill/decode disaggregation is in scope. Start with docs/core-design.md, where the issue says the feature is currently listed as outside the design, and with the existing prefix cache pool (checkpoints, claims/exports, network manager) that the proposed --role admission filters would build on. Done means a maintainer answer on scope, not a patch.

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

Descrizione

area:caching area:selene triage:design-review

Now that the prefix cache pool exists (shared checkpoints with rows, claims/exports, network manager), are there plans for prefill/decode disaggregation? docs/core-design.md currently lists it as outside the design.

We tested a simulated split on two instances: publishing 100K-token prefixes on one and restoring on the other works well (0.12–0.42 s vs ~5 s cold prefill), but a cold request sent to a decode instance still has to prefill there.

Two possible steps, in increasing order of effort:

  1. --role prefill|decode admission filters, so a cache-aware gateway can route cold traffic to prefill workers and warm traffic to decode workers.
  2. Request migration: hand a live request's KV + row through the pool and continue the stream on another instance.

Benchmark numbers available on request.

Lingua principale
Rust
Stelle
800
Fork
106
Merge medio
1g 3h
PR unite (30g)
100

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 NVIDIA/hyperflare-inference

Tutte le issue di NVIDIA/hyperflare-inference

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.