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
66aaa772
Unverified
Commit
66aaa772
authored
Dec 11, 2024
by
youkaichao
Committed by
GitHub
Dec 11, 2024
Browse files
[torch.compile] remove graph logging in ci (#11110)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
d643c2ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
vllm/compilation/backends.py
vllm/compilation/backends.py
+5
-3
No files found.
vllm/compilation/backends.py
View file @
66aaa772
...
@@ -287,9 +287,11 @@ class VllmBackend:
...
@@ -287,9 +287,11 @@ class VllmBackend:
graph
,
self
.
compilation_config
.
splitting_ops
)
graph
,
self
.
compilation_config
.
splitting_ops
)
from
torch._dynamo.utils
import
lazy_format_graph_code
from
torch._dynamo.utils
import
lazy_format_graph_code
logger
.
debug
(
"%s"
,
lazy_format_graph_code
(
"before split"
,
self
.
graph
))
logger
.
debug
(
"%s"
,
lazy_format_graph_code
(
"after split"
,
# depyf will hook lazy_format_graph_code and dump the graph
self
.
split_gm
))
# for debugging, no need to print the graph here
lazy_format_graph_code
(
"before split"
,
self
.
graph
)
lazy_format_graph_code
(
"after split"
,
self
.
split_gm
)
compilation_counter
.
num_piecewise_graphs_seen
+=
len
(
compilation_counter
.
num_piecewise_graphs_seen
+=
len
(
self
.
piecewise_graphs
)
self
.
piecewise_graphs
)
...
...
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