H100 NVL support
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
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- linux, python
- Lĩnh vực
- operating-systems, tooling
Hướng nghiên cứu
Bắt đầu với nvidia_gpu_tools.py, đặc biệt là find_gpus_sysfs, Gpu.init, set_command_memory và device write path được hiển thị trong traceback. Tái hiện lệnh với thiết lập H100 NVL đã được báo cáo và so sánh hành vi của lệnh với cách xử lý GPU được hỗ trợ. Hoàn thành khi đã hiểu khả năng tương thích H100 NVL của công cụ và lệnh không còn báo cáo sai rằng các GPU bị hỏng, hoặc khi giới hạn này được ghi lại trong tài liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi all, I want to check if the gpu-admin-tools supports H100 NVL version of GPUs. I tried to test this out but I am getting a few errors (gpu broken / operation not permitted). Considering I haven't used this tool before, so I might be using it wrong or there could be issues at the system level I am not aware of.
Machine setup:
- GPU: 2 H100 NVL GPUs
- OS: Rocky Linux 8.6 with SELinux in permissive mode
- Nvidia Driver: 535.183.01
nvidia-smi
Mon Aug 19 20:46:03 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA H100 NVL Off | 00000000:4E:00.0 Off | 0 |
| N/A 37C P0 69W / 400W | 0MiB / 95830MiB | 0% Default |
| | | Disabled |
+-----------------------------------------+----------------------+----------------------+
| 1 NVIDIA H100 NVL Off | 00000000:62:00.0 Off | 0 |
| N/A 36C P0 63W / 400W | 0MiB / 95830MiB | 0% Default |
| | | Disabled |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
nvidia-smi topo -m
GPU0 GPU1 NIC0 CPU Affinity NUMA Affinity GPU NUMA ID
GPU0 X NV12 NODE 0-23,48-71 0 N/A
GPU1 NV12 X NODE 0-23,48-71 0 N/A
NIC0 NODE NODE X
Legend:
X = Self
SYS = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX = Connection traversing at most a single PCIe bridge
NV# = Connection traversing a bonded set of # NVLinks
NIC Legend:
NIC0: mlx5_bond_0
Run:
sudo ./nvidia_gpu_tools.py --gpu 1 --block-all-nvlinks
NVIDIA GPU Tools version v2024.02.14o
Command line arguments: ['./nvidia_gpu_tools.py', '--gpu', '1', '--block-all-nvlinks']
File "./nvidia_gpu_tools.py", line 110, in find_gpus_sysfs
dev = Gpu(dev_path=dev_path)
File "./nvidia_gpu_tools.py", line 3657, in __init__
self.set_command_memory(True)
File "./nvidia_gpu_tools.py", line 1617, in set_command_memory
self.command["MEMORY"] = 1 if enable else 0
File "./nvidia_gpu_tools.py", line 1266, in __setitem__
self._write()
File "./nvidia_gpu_tools.py", line 1257, in _write
self.dev.write(self.offset, self.value.raw, self.size)
File "./nvidia_gpu_tools.py", line 154, in write
os.write(self.fd, data_from_int(data, size))
2024-08-19,20:47:31.187 ERROR GPU /sys/bus/pci/devices/0000:4e:00.0 broken: [Errno 1] Operation not permitted
2024-08-19,20:47:31.191 ERROR Config space working True
File "./nvidia_gpu_tools.py", line 110, in find_gpus_sysfs
dev = Gpu(dev_path=dev_path)
File "./nvidia_gpu_tools.py", line 3657, in __init__
self.set_command_memory(True)
File "./nvidia_gpu_tools.py", line 1617, in set_command_memory
self.command["MEMORY"] = 1 if enable else 0
File "./nvidia_gpu_tools.py", line 1266, in __setitem__
self._write()
File "./nvidia_gpu_tools.py", line 1257, in _write
self.dev.write(self.offset, self.value.raw, self.size)
File "./nvidia_gpu_tools.py", line 154, in write
os.write(self.fd, data_from_int(data, size))
2024-08-19,20:47:31.206 ERROR GPU /sys/bus/pci/devices/0000:62:00.0 broken: [Errno 1] Operation not permitted
2024-08-19,20:47:31.210 ERROR Config space working True
GPUs:
0 GPU 0000:4e:00.0 [broken, cfg space working 1 bars configured 1]
1 GPU 0000:62:00.0 [broken, cfg space working 1 bars configured 1]
Other:
Topo:
Intel root port 0000:4d:01.0
GPU 0000:4e:00.0 ? 0x2321 BAR0 0x212002000000
GPU 0000:4e:00.0 [broken, cfg space working 1 bars configured 1]
Intel root port 0000:61:01.0
GPU 0000:62:00.0 ? 0x2321 BAR0 0x216002000000
GPU 0000:62:00.0 [broken, cfg space working 1 bars configured 1]
2024-08-19,20:47:31.210 INFO Selected GPU 0000:62:00.0 [broken, cfg space working 1 bars configured 1]
2024-08-19,20:47:31.210 ERROR GPU 0000:62:00.0 [broken, cfg space working 1 bars configured 1] is broken and --recover-broken-gpu was not specified, returning failure.
Thanks!
- Ngôn ngữ chính
- Python
- Star
- 96
- Fork
- 37
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/gpu-admin-tools
-
Bug: sysfs_remove, sysfs_rescan, and sysfs_reset proceed to open() after detecting missing pathĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
NVIDIA/gpu-admin-tools#16 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
NVIDIA/gpu-admin-tools#17 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
NVIDIA/gpu-admin-tools#13 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
NVIDIA/gpu-admin-tools#12 ·
-
RTX 2000 Ada supportĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
NVIDIA/gpu-admin-tools#11 ·
Tất cả issue của NVIDIA/gpu-admin-tools
Issue tương tự
-
python triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/semantic-kernel#14590 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
pinterest/pymemcache#662 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
gnocchixyz/gnocchi#1527 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
tenstorrent/tt-model-manager#181 ·
Maintainer thường phản hồi trong vòng 1 ngày