From f18041cca8542bf8c7d92d69966038fa2130a06e Mon Sep 17 00:00:00 2001 From: andreh7 Date: Sat, 18 Oct 2025 22:09:18 +0000 Subject: [PATCH] Fix missing closing quote in __init__.py documentation (#165827) Title says it all. Pull Request resolved: https://github.com/pytorch/pytorch/pull/165827 Approved by: https://github.com/Skylion007 --- torch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch/__init__.py b/torch/__init__.py index 40838191707b..39555a8360e8 100644 --- a/torch/__init__.py +++ b/torch/__init__.py @@ -2503,7 +2503,7 @@ def compile( to compile it and cache the compiled result on the code object for future use. A single frame may be compiled multiple times if previous compiled results are not applicable for subsequent calls (this is called a "guard - failure), you can use TORCH_LOGS=guards to debug these situations. + failure"), you can use TORCH_LOGS=guards to debug these situations. Multiple compiled results can be associated with a frame up to ``torch._dynamo.config.recompile_limit``, which defaults to 8; at which point we will fall back to eager. Note that compile caches are per