Skip to content

Commit 812b863

Browse files
Fix spell-check
Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
1 parent 81e18a5 commit 812b863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/recipes/tuning_guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def fused_gelu(x):
295295
torch._C._jit_set_autocast_mode(False)
296296

297297
with torch.no_grad(), torch.cpu.amp.autocast(cache_enabled=False, dtype=torch.bfloat16):
298-
# Conv-BatchNorm folding for CNN-based Vision Models should be done with torch.fx.experimental.optimization.fuse when AMP is used
298+
# Conv-BatchNorm folding for CNN-based Vision Models should be done with ``torch.fx.experimental.optimization.fuse`` when AMP is used
299299
import torch.fx.experimental.optimization as optimization
300300
# Please note that optimization.fuse need not be called when AMP is not used
301301
model = optimization.fuse(model)

0 commit comments

Comments
 (0)