vllm serve google/gemma-3n-E2B-it -tp 1
(EngineCore_DP0 pid=2805721) File "/data/users/yhshin/gitrepos/vllm/vllm/compilation/backends.py", line 330, in call_module
(EngineCore_DP0 pid=2805721) compiler_manager.compile(
(EngineCore_DP0 pid=2805721) ^^^^^^^^
(EngineCore_DP0 pid=2805721) File "/data/users/yhshin/gitrepos/vllm/vllm/compilation/backends.py", line 179, in compile
(EngineCore_DP0 pid=2805721) compiled_graph, handle = self.compiler.compile(
(EngineCore_DP0 pid=2805721) ^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=2805721) File "/data/users/yhshin/gitrepos/vllm/vllm/compilation/compiler_interface.py", line 217, in compile
(EngineCore_DP0 pid=2805721) compiled_graph.save(path=path, format="unpacked")
(EngineCore_DP0 pid=2805721) File "/home/yhshin/uv_env/vllm/lib/python3.12/site-packages/torch/_inductor/standalone_compile.py", line 73, in save
(EngineCore_DP0 pid=2805721) assert len(cache_info.aot_autograd_artifacts) == 1, cache_info
(EngineCore_DP0 pid=2805721) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=2805721) torch._dynamo.exc.BackendCompilerFailed: backend='<vllm.compilation.backends.VllmBackend object at 0x7f5ad84e7d10>' raised:
(EngineCore_DP0 pid=2805721) AssertionError: CacheInfo(artifacts=defaultdict(<class 'list'>, {'inductor': ['frtb6xof4xglqbvww362mucq4jpbcm7hdkky7duecxlfqy7turzg'], 'autotune':...
Your current environment
The output of
python collect_env.py馃悰 Describe the bug
run
on torch==2.8.0:
fails in standalone_compile added in pytorch/pytorch#150670 due to no artifacts returned after compiling the second submodule (
submod_2) of Gemma3n.@zou3519 mentioned this happens when any output of a subgraph returns a view of the input
Before submitting a new issue...