docs: update comment

This commit is contained in:
Ting-Jun Wang 2024-03-22 17:40:17 +08:00
parent e907d42043
commit 66e4b9ec51
Signed by: snsd0805
GPG Key ID: D175E969960C4B16

View File

@ -52,14 +52,14 @@ def get_server_gpu_status() -> list:
{ {
'name': 'cml5' 'name': 'cml5'
'users': [ '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 = [] servers = []