Run Python cyclic GC at an application-selected safe boundary.
(self)
| 1356 | self._python_gc_generation = None |
| 1357 | |
| 1358 | def collect_python_gc(self): |
| 1359 | """Run Python cyclic GC at an application-selected safe boundary.""" |
| 1360 | from deepspeed.runtime.python_gc import python_gc_manager |
| 1361 | return python_gc_manager.collect() |
| 1362 | |
| 1363 | def _configure_python_gc(self): |
| 1364 | if self._config.disable_python_gc: |