Skip to content

vllm.compilation.passes.utility.post_cleanup

Classes:

PostCleanupPass

Bases: VllmInductorPass

This pass performs cleanup after custom passes. It topologically sorts the graph and removes unused nodes. This is needed because the pattern matcher does not guarantee producing a topologically sorted graph, and there may be unused nodes left around.