[torch.compile] use depyf to dump torch.compile internals (#10972)

Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
youkaichao
2024-12-11 10:43:05 -08:00
committed by GitHub
parent fd22220687
commit 91642db952
7 changed files with 66 additions and 42 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ def _support_torch_compile(
"Unsupported dynamic dimensions"
f" {dims} for argument {k} with type {type(arg)}.")
# here, it is the starting point of the `torch.compile` process
start_monitoring_torch_compile(self.vllm_config.compilation_config)
start_monitoring_torch_compile(self.vllm_config)
# if we don't use custom dispatcher, we can directly call the
# compiled function and let torch.compile handle the dispatching,