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

Method _configure_python_gc

deepspeed/runtime/engine.py:1363–1366  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1361 return python_gc_manager.collect()
1362
1363 def _configure_python_gc(self):
1364 if self._config.disable_python_gc:
1365 from deepspeed.runtime.python_gc import python_gc_manager
1366 self._python_gc_generation = python_gc_manager.acquire()
1367
1368 def _get_model_parameters(self):
1369 if self.autotuning_profile_model_info():

Calls 1

acquireMethod · 0.80