Change min max gpu memory to be on their own plots (#1358)
This commit is contained in:
parent
003ca510fa
commit
b31edf37bf
|
@ -246,7 +246,7 @@ def get_memory_profile(mode: str) -> Union[Dict[str, int], Dict[int, int]]:
|
|||
min_index, min_memory = min(memory_map.items(), key=lambda item: item[1])
|
||||
max_index, max_memory = max(memory_map.items(), key=lambda item: item[1])
|
||||
|
||||
memory_map = {min_index: min_memory, max_index: max_memory}
|
||||
memory_map = {'min_gpu_mem': min_memory, 'max_gpu_mem': max_memory}
|
||||
|
||||
return memory_map
|
||||
|
||||
|
|
Loading…
Reference in New Issue