mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
fix(core/cli): fix error messages for CUDA 10.x drivers
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
3ec88f917f
commit
587e2042eb
1 changed files with 1 additions and 2 deletions
|
|
@ -351,8 +351,7 @@ def main(): # pylint: disable=too-many-branches,too-many-statements,too-many-lo
|
|||
if (
|
||||
'nvmlDeviceGetComputeRunningProcesses' in message
|
||||
or 'nvmlDeviceGetGraphicsRunningProcesses' in message
|
||||
and Device.cuda_version().startswith('10.')
|
||||
):
|
||||
) and Device.cuda_version().startswith('10.'):
|
||||
message = '\n'.join(
|
||||
(
|
||||
message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue