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

Method _configure_python_gc

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

Source from the content-addressed store, hash-verified

1389 return python_gc_manager.collect()
1390
1391 def _configure_python_gc(self):
1392 if self._config.disable_python_gc:
1393 from deepspeed.runtime.python_gc import python_gc_manager
1394 self._python_gc_generation = python_gc_manager.acquire()
1395
1396 def _get_model_parameters(self):
1397 if self.autotuning_profile_model_info():

Calls 1

acquireMethod · 0.80