MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / memory_cached

Method memory_cached

accelerator/cpu_accelerator.py:304–305  ·  view source on GitHub ↗
(self, device_index=None)

Source from the content-addressed store, hash-verified

302 return
303
304 def memory_cached(self, device_index=None):
305 return self.get_rss()
306
307 def max_memory_cached(self, device_index=None):
308 self.get_rss()

Callers

nothing calls this directly

Calls 1

get_rssMethod · 0.95

Tested by

no test coverage detected