[Feature]: Support gds.enabled=true with precompiled drivers when nvidia_fs is pre-built into the driver image

Aperta
#3,165 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes

Direzione di ricerca

Start in transformGDSContainer(), where the pre-compiled-driver error is raised, and check how UsePrecompiledDrivers() is used there. The issue proposes a load-only path that skips nvidia-gds-driver install and only verifies the module, writes cufile.json, and sets device permissions. It does not say how a pre-built nvidia_fs is detected, so settle that with maintainers first. Done means the combination no longer returns an error and the setup steps run.

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

Descrizione

feature lifecycle/frozen needs-triage

When using precompiled NVIDIA drivers, gds.enabled=true is currently hard-rejected in
transformGDSContainer() with the error:

GPUDirect Storage driver (nvidia-fs) is not supported along with pre-compiled NVIDIA drivers

The reason is that the nvidia-fs-ctr sidecar waits for /run/nvidia/driver/usr/src to be
populated, then runs nvidia-gds-driver install which builds nvidia_fs.ko from those sources.
With precompiled drivers there are no sources at that path, so the install would fail.

This assumption breaks down when nvidia_fs.ko is pre-built into the precompiled driver image.
In that case the module is already loaded by the time nvidia-fs-ctr starts, making the build
step in nvidia-gds-driver install unnecessary.

The request is to support a load-only mode in transformGDSContainer() for this case: when
UsePrecompiledDrivers() is true and nvidia_fs is pre-built into the image, skip the
nvidia-gds-driver install step and only run the GDS toolkit setup (verify module is loaded,
write cufile.json, configure device permissions) rather than returning an error.

Lingua principale
Go
Stelle
3k
Fork
592
Merge medio
3g 19h
PR unite (30g)
63

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/gpu-operator

Tutte le issue di NVIDIA/gpu-operator

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.