mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-19 08:47:32 +00:00
Merge remote-tracking branch 'origin/main' into store_connector
This commit is contained in:
commit
90b793f40e
@ -33,7 +33,7 @@ def get_gpu_memory(max_gpus=None):
|
||||
allocated_memory = torch.cuda.memory_allocated() / (1024 ** 3)
|
||||
available_memory = total_memory - allocated_memory
|
||||
gpu_memory.append(available_memory)
|
||||
return gpu_memory
|
||||
return gpu_memory
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user