From 66e4b9ec519f98b3c74e71e9175699e07fea36f3 Mon Sep 17 00:00:00 2001 From: Ting-Jun Wang Date: Fri, 22 Mar 2024 17:40:17 +0800 Subject: [PATCH] docs: update comment --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index aecb514..7d0b495 100644 --- a/main.py +++ b/main.py @@ -52,14 +52,14 @@ def get_server_gpu_status() -> list: { 'name': 'cml5' 'users': [ - 'snsd0805', 'snsd0805', 'timmy' + ['snsd0805', 'timmy'], ['timmy'] ], - 'gpu': 'V100' + 'gpus': ['V100', 'V100'] }, ... ] - means that 'cml5' server has 3 'V100', and the user 'snsd0805' is using 2 GPU and the user 'timmy' is usig 1 GPU now. + means that 'cml5' server has 2 'V100', and the user 'snsd0805' is using 1 GPU and the user 'timmy' is usig 2 GPU now. ''' servers = []