Improve logging & add logit cap (#471)
This commit is contained in:
@@ -92,7 +92,7 @@ def calculate_time(show=False, min_cost_ms=0.0):
|
||||
return wrapper
|
||||
|
||||
|
||||
def get_available_gpu_memory(gpu_id, distributed=True):
|
||||
def get_available_gpu_memory(gpu_id, distributed=False):
|
||||
"""
|
||||
Get available memory for cuda:gpu_id device.
|
||||
When distributed is True, the available memory is the minimum available memory of all GPUs.
|
||||
|
||||
Reference in New Issue
Block a user