Revert "[compile] Initialize passes at VllmBackend init" (#37733)
This commit is contained in:
@@ -380,11 +380,6 @@ def _support_torch_compile(
|
||||
compilation_counter.num_models_seen += 1
|
||||
self.compiled = False
|
||||
|
||||
# Skip if a parent class's @support_torch_compile already
|
||||
# initialized the compile wrapper
|
||||
if hasattr(self, "_compiled_callable"):
|
||||
return
|
||||
|
||||
# Handled by monkeypatching `TorchCompileWithNoGuardsWrapper` into base class
|
||||
TorchCompileWithNoGuardsWrapper.__init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user