Config for GC Debugger. - 0: disable GC debugger - 1: enable GC debugger with gc.collect elpased times - '{"top_objects":5}': enable GC debugger with top 5 collected objects
Source code in vllm/utils/gc_utils.py
  
 __init__(gc_debug_conf: str | None = None) -> None
Source code in vllm/utils/gc_utils.py
  
 Debugger for GC which logs helpful information for GC understanding. To enable, you should call maybe_attach_gc_debug_callback in the process.
Source code in vllm/utils/gc_utils.py
  
  Handles a GC event (e.g. GC start or GC finish)
Source code in vllm/utils/gc_utils.py
  
  Detailed object type.
TODO(Jialin): Further enhance the detailed type with element types for easier debugging. We tried but occasionally it would run into signals which kills the engine.
Source code in vllm/utils/gc_utils.py
  
  Group collected objects by types.
Source code in vllm/utils/gc_utils.py
  
  Attached a callback for GC debug when VLLM_GC_DEBUG is enabled.