Skip to content

Commit

Permalink
Disable cudagraphs by default (pytorch#93253)
Browse files Browse the repository at this point in the history
`torch.compile` used to disable cudagraphs by default (removed one PR up in this stack), which was a bit confusing because it caused the config setting to be ignored.

Pull Request resolved: pytorch#93253
Approved by: https://github.com/ngimel
  • Loading branch information
jansel authored and pytorchmergebot committed Feb 1, 2023
1 parent 45eadc2 commit 2ea3036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/_inductor/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class cpp:
class triton:

# Use cudagraphs on output code
cudagraphs = True
cudagraphs = False

# Synchronize before and after every compiled graph.
debug_sync_graph = False
Expand Down

0 comments on commit 2ea3036

Please sign in to comment.