Support GPU
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
- 18/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes, linux
- Ambito
- distributed-systems, infrastructure
Direzione di ricerca
Start with the linked proposal at docs/proposals/gpu.md, then inspect the engine template, FIBERD_ENGINE IPC, device channel, budget enforcement, and conformance C8. The issue calls for a CUDA engine on proc, with runc as a later backend, plus seccomp and GPU runner validation. Done means one warm GPU context serves multiple fibers, device budgets and classes are enforced, eviction happens before park, and GPU conformance passes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
fiberd already has the seam a GPU plugs into. An engine template owns device state, lends each fiber a slice over IPC (FIBERD_ENGINE), and reports it with DEVICE lines. fiberd enforces each grant's device budget, sends EVICT before a park, and feeds device occupancy to the pressure ladder. A home hands the engine its devices through a device channel: a static list, a Kubernetes DRA claim or Slurm GRES. Conformance C8 pins the budget. But the only engine is refzygote's simulated one, so no real GPU has run behind the seam.
flowchart LR
H[home: device channel] --> E["engine zygote, owns the GPU context"]
E -->|"FIBERD_ENGINE IPC, a slice per fiber"| F1[fiber]
E --> F2[fiber]
E -->|"DEVICE fence bytes"| D[fiberd: budget, EVICT before a park, pressure]
What is missing.
- A real engine. A reference engine that holds a CUDA context in the zygote and serves fibers over IPC. A fiber never opens the GPU itself, because a CUDA context does not survive a fork and CRIU cannot dump one without NVIDIA's checkpoint support.
- Park with device state. Today a park evicts the fiber's slice, so a resumed fiber starts its device state over. Decide whether that is the contract, or whether to keep the slice through a park, for example with
cuda-checkpointand CRIU's CUDA plugin. - Device class. fiberd admits a grant that asks for a device class whenever the engine reports any capacity. It does not compare
device_budget.classwith the engine's. - The fiber filter. Check the engine and its fibers against the seccomp filter. GPU drivers live on
ioctlandmmapof/dev/nvidia*, which the filter allows, but nobody has run one under it. - Backends. proc and runc first. gVisor needs
nvproxyand Hyperlight has no device path, so both stay out of the first cut.
Done when. A real GPU template on proc serves many fibers from one warm context. Each fiber is held to its device budget and evicted before its park. A conformance run passes on a GPU runner, and the class a grant asks for is enforced.
Proposal can be found here.
- Lingua principale
- Go
- Stelle
- 5
- Fork
- 5
- Merge medio
- 15h 27m
- PR unite (30g)
- 41
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
- 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 Azure/fiberd
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Azure/fiberd#131 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/fiberd
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug] vela config-template apply drops the template's metadata.descriptionForse già presa @backendArchitect l’ha presa oggi. Apertaarea/cli area/config good first issue type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kubevela/kubevela#7756 · 1 commento ·
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 2 giorni
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno