File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,10 +201,10 @@ def outer_function():
201
201
# functions and modules, start by compiling the leaf functions or modules first.
202
202
# For more information see `TorchDynamo APIs for fine-grained tracing <https://pytorch.org/docs/stable/torch.compiler_fine_grain_apis.html>`__.
203
203
#
204
- # 5. **Prefer `mod.compile()` over `torch.compile(mod)`:** Avoids `_orig_` prefix issues in `state_dict`.
204
+ # 5. **Prefer `` mod.compile()`` over `` torch.compile(mod)`` :** Avoids `` _orig_`` prefix issues in `` state_dict` `.
205
205
#
206
- # 6. **Use `fullgraph=True` to catch graph breaks:** Helps ensure end-to-end compilation, maximizing speedup
207
- # and compatibility with `torch.export`.
206
+ # 6. **Use `` fullgraph=True` ` to catch graph breaks:** Helps ensure end-to-end compilation, maximizing speedup
207
+ # and compatibility with `` torch.export` `.
208
208
209
209
210
210
######################################################################
You can’t perform that action at this time.
0 commit comments