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

Method _configure_python_gc

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

Source from the content-addressed store, hash-verified

1308 return python_gc_manager.collect()
1309
1310 def _configure_python_gc(self):
1311 if self._config.disable_python_gc:
1312 from deepspeed.runtime.python_gc import python_gc_manager
1313 self._python_gc_generation = python_gc_manager.acquire()
1314
1315 def _get_model_parameters(self):
1316 if self.autotuning_profile_model_info():

Calls 1

acquireMethod · 0.80