vllm.compilation.passes.pass_manager
¶
Classes:
-
PostGradPassManager–The pass manager for post-grad passes.
Functions:
-
with_pattern_match_debug–Function decorator that turns on inductor pattern match debug
PostGradPassManager
¶
Bases: CustomGraphPass
The pass manager for post-grad passes. It handles configuration, adding custom passes, and running passes. It supports uuid for the Inductor code cache.
The order of the post-grad post-passes is: 1. passes (constructor parameter) 2. default passes (NoopEliminationPass, FusionPass) 3. config["post_grad_custom_post_pass"] (if it exists) 4. fix_functionalization This way, all passes operate on a functionalized graph.
Methods:
-
uuid–The PostGradPassManager is set as a custom pass in the Inductor and
uuid()
¶
The PostGradPassManager is set as a custom pass in the Inductor and affects compilation caching. Its uuid depends on the UUIDs of all dependent passes and the pass config. See InductorPass for more info.
with_pattern_match_debug(fn)
¶
Function decorator that turns on inductor pattern match debug for the duration of the call. Used to avoid logging builtin Inductor pattern matching.