mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
docs(api/libnvml): update docstrings
This commit is contained in:
parent
29b047c18d
commit
090cd6baa0
1 changed files with 9 additions and 9 deletions
|
|
@ -630,8 +630,8 @@ if not _pynvml_installation_corrupted:
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
||||||
if the caller has appropriate privileges. Per-instance information can be queried by
|
if the caller has appropriate privileges. Per-instance information can be queried by
|
||||||
using specific MIG device handles.
|
using specific MIG device handles.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
NVMLError_InvalidArgument:
|
NVMLError_InvalidArgument:
|
||||||
|
|
@ -659,8 +659,8 @@ if not _pynvml_installation_corrupted:
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
||||||
if the caller has appropriate privileges. Per-instance information can be queried by
|
if the caller has appropriate privileges. Per-instance information can be queried by
|
||||||
using specific MIG device handles.
|
using specific MIG device handles.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
NVMLError_InvalidArgument:
|
NVMLError_InvalidArgument:
|
||||||
|
|
@ -688,8 +688,8 @@ if not _pynvml_installation_corrupted:
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
||||||
if the caller has appropriate privileges. Per-instance information can be queried by
|
if the caller has appropriate privileges. Per-instance information can be queried by
|
||||||
using specific MIG device handles.
|
using specific MIG device handles.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
NVMLError_InvalidArgument:
|
NVMLError_InvalidArgument:
|
||||||
|
|
@ -782,10 +782,10 @@ if not _pynvml_installation_corrupted:
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- The version 2 API adds additional memory information. The reserved amount is supported
|
- The version 2 API adds additional memory information. The reserved amount is supported
|
||||||
on version 2 only.
|
on version 2 only.
|
||||||
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
- In MIG mode, if device handle is provided, the API returns aggregate information, only
|
||||||
if the caller has appropriate privileges. Per-instance information can be queried by
|
if the caller has appropriate privileges. Per-instance information can be queried by
|
||||||
using specific MIG device handles.
|
using specific MIG device handles.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
NVMLError_InvalidArgument:
|
NVMLError_InvalidArgument:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue