Skip to content

Commit 35340e2

Browse files
Masato Shinokawashino16
authored andcommitted
Fix return type annotation
1 parent 45529b9 commit 35340e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎thunder/dynamo/utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def checkpoint_converter(gm: torch.fx.GraphModule, sub_gm: torch.fx.GraphModule)
685685
_checkpoint_function_converter(function_module)
686686

687687

688-
def remove_empty_autocast(graph_module: torch.fx.GraphModule) -> None:
688+
def remove_empty_autocast(graph_module: torch.fx.GraphModule) -> torch.fx.GraphModule:
689689
"""
690690
Function to remove empty autocast regions from GraphModule.
691691

0 commit comments

Comments
 (0)