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

Method empty_cache

accelerator/cpu_accelerator.py:277–278  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

275
276 # Memory management
277 def empty_cache(self):
278 return
279
280 def get_rss(self):
281 import psutil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected