From 090cd6baa0784eb593941358f41ffb4eaa2dddd7 Mon Sep 17 00:00:00 2001 From: Xuehai Pan Date: Sun, 16 Jul 2023 23:13:15 +0800 Subject: [PATCH] docs(api/libnvml): update docstrings --- nvitop/api/libnvml.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nvitop/api/libnvml.py b/nvitop/api/libnvml.py index e633786..9f2c911 100644 --- a/nvitop/api/libnvml.py +++ b/nvitop/api/libnvml.py @@ -630,8 +630,8 @@ if not _pynvml_installation_corrupted: Note: - 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 - using specific MIG device handles. + if the caller has appropriate privileges. Per-instance information can be queried by + using specific MIG device handles. Raises: NVMLError_InvalidArgument: @@ -659,8 +659,8 @@ if not _pynvml_installation_corrupted: Note: - 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 - using specific MIG device handles. + if the caller has appropriate privileges. Per-instance information can be queried by + using specific MIG device handles. Raises: NVMLError_InvalidArgument: @@ -688,8 +688,8 @@ if not _pynvml_installation_corrupted: Note: - 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 - using specific MIG device handles. + if the caller has appropriate privileges. Per-instance information can be queried by + using specific MIG device handles. Raises: NVMLError_InvalidArgument: @@ -782,10 +782,10 @@ if not _pynvml_installation_corrupted: Note: - 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 - if the caller has appropriate privileges. Per-instance information can be queried by - using specific MIG device handles. + if the caller has appropriate privileges. Per-instance information can be queried by + using specific MIG device handles. Raises: NVMLError_InvalidArgument: