Run Python cyclic GC at an application-selected safe boundary.
(self)
| 1303 | self._python_gc_generation = None |
| 1304 | |
| 1305 | def collect_python_gc(self): |
| 1306 | """Run Python cyclic GC at an application-selected safe boundary.""" |
| 1307 | from deepspeed.runtime.python_gc import python_gc_manager |
| 1308 | return python_gc_manager.collect() |
| 1309 | |
| 1310 | def _configure_python_gc(self): |
| 1311 | if self._config.disable_python_gc: |