Skip to content

Commit 52d06aa

Browse files
committed
Improved comments
1 parent a84bd23 commit 52d06aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

thunder/dynamo/compiler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@ def __call__(self, gm: torch.fx.GraphModule, sample_args: list[torch.SymInt, tor
135135

136136
remove_empty_autocast(gm)
137137

138-
# Dynamo uses lazy generation of the underlying Python code, so we need to
139-
# force recompilation of the GraphModule before passing it to Thunder.
140-
recompile_graph(gm)
141-
142138
# The whole graph may not be supported by `thunder`, so we split it in `thunder` supported sections
143139
# and unsupported sections which are passed to `torch.compile(backend='inductor')`
144140
thunder_options = _with_prologue_pruning_transform(

0 commit comments

Comments
 (0)