[MISC] rename CudaMemoryProfiler to DeviceMemoryProfiler (#8703)
This commit is contained in:
@@ -757,7 +757,7 @@ def is_pin_memory_available() -> bool:
|
||||
return True
|
||||
|
||||
|
||||
class CudaMemoryProfiler:
|
||||
class DeviceMemoryProfiler:
|
||||
|
||||
def __init__(self, device: Optional[torch.types.Device] = None):
|
||||
self.device = device
|
||||
|
||||
Reference in New Issue
Block a user