Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
b9cf629b
Unverified
Commit
b9cf629b
authored
Apr 20, 2026
by
Frederik Gossen
Committed by
GitHub
Apr 20, 2026
Browse files
[Core] Label torch trace logging overhead with dynamo_timed (#39329)
Signed-off-by:
Frederik Gossen
<
frgossen@meta.com
>
parent
3461c8b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/compilation/piecewise_backend.py
vllm/compilation/piecewise_backend.py
+2
-0
No files found.
vllm/compilation/piecewise_backend.py
View file @
b9cf629b
...
@@ -11,6 +11,7 @@ from typing import Any
...
@@ -11,6 +11,7 @@ from typing import Any
import
torch._functorch.config
import
torch._functorch.config
import
torch.fx
as
fx
import
torch.fx
as
fx
from
torch._dynamo.utils
import
dynamo_timed
from
torch._inductor.runtime.triton_heuristics
import
CachingAutotuner
from
torch._inductor.runtime.triton_heuristics
import
CachingAutotuner
from
torch._logging._internal
import
trace_structured
from
torch._logging._internal
import
trace_structured
...
@@ -275,6 +276,7 @@ class PiecewiseBackend:
...
@@ -275,6 +276,7 @@ class PiecewiseBackend:
range_entry
.
compiled
=
True
range_entry
.
compiled
=
True
@
dynamo_timed
(
"vllm_log_compile_start_torch_trace_only"
)
def
_log_compile_start
(
self
,
compile_range
:
Range
):
def
_log_compile_start
(
self
,
compile_range
:
Range
):
"""Log compilation event for TORCH_TRACE/tlparse."""
"""Log compilation event for TORCH_TRACE/tlparse."""
is_cudagraph_size
=
(
is_cudagraph_size
=
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment