Revert "[compile] Initialize passes at VllmBackend init" (#37733)

This commit is contained in:
Simon Mo
2026-03-20 21:35:49 -07:00
committed by GitHub
parent 3ffa52009f
commit 1fa1e53a73
3 changed files with 5 additions and 19 deletions

View File

@@ -32,9 +32,9 @@ from vllm.platforms import current_platform
def test_compile_config_repr_succeeds():
# setup: VllmBackend mutates the config object
# Note: VllmBackend.__init__ already calls configure_post_pass()
config = VllmConfig()
_ = VllmBackend(config)
backend = VllmBackend(config)
backend.configure_post_pass()
# test that repr(config) succeeds
val = repr(config)