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

Method collect

deepspeed/runtime/python_gc.py:65–67  ·  view source on GitHub ↗

Run an explicit collection without changing the automatic-GC policy.

(self)

Source from the content-addressed store, hash-verified

63 logger.info("Restored automatic Python cyclic GC")
64
65 def collect(self):
66 """Run an explicit collection without changing the automatic-GC policy."""
67 return gc.collect()
68
69 @property
70 def active_engines(self):

Calls

no outgoing calls