Skip to content

Commit 16fd39a

Browse files
authored
Update recipes_source/compiling_optimizer.py
1 parent c26a574 commit 16fd39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/compiling_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
opt = torch.optim.Adam(model.parameters(), lr=0.01)
6060

6161

62-
@torch.compile()
62+
@torch.compile(fullgraph=False)
6363
def fn():
6464
opt.step()
6565

0 commit comments

Comments
 (0)