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

Đang mở
#3,165 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
3k
Fork
592
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
68

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/gpu-operator

Tất cả issue của NVIDIA/gpu-operator

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.