fix(api/device): fix passing invalid device handle to NVML functions (#146)

This commit is contained in:
Xuehai Pan 2025-01-13 17:51:09 +08:00 committed by GitHub
parent aa9148d413
commit d623531779
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 220 additions and 153 deletions

View file

@ -12,7 +12,7 @@ body:
```bash
pip3 install --upgrade pipx
pipx run --spec git+https://github.com/XuehaiPan/nvitop.git nvitop
PYTHONFAULTHANDLER=1 pipx run --spec git+https://github.com/XuehaiPan/nvitop.git nvitop
```
- type: checkboxes
@ -128,7 +128,7 @@ body:
id: logs
attributes:
label: Logs
description: Run nvitop with `LOGLEVEL=DEBUG nvitop` and paste the output here.
description: Run nvitop with `PYTHONFAULTHANDLER=1 LOGLEVEL=DEBUG nvitop` and paste the output here.
render: text
- type: textarea

View file

@ -12,7 +12,7 @@ body:
```bash
pip3 install --upgrade pipx
pipx run --spec git+https://github.com/XuehaiPan/nvitop.git nvitop
PYTHONFAULTHANDLER=1 pipx run --spec git+https://github.com/XuehaiPan/nvitop.git nvitop
```
- type: checkboxes

View file

@ -12,7 +12,7 @@ body:
```bash
pip3 install --upgrade pipx
pipx run --spec git+https://github.com/XuehaiPan/nvitop.git nvitop
PYTHONFAULTHANDLER=1 pipx run --spec git+https://github.com/XuehaiPan/nvitop.git nvitop
```
- type: checkboxes