Dynamo Deep Dive Documentation Fix (#158860)

changed SourceBuilder to VariableBuilder

Fixes #158447

Pull Request resolved: https://github.com/pytorch/pytorch/pull/158860
Approved by: https://github.com/mlazos
This commit is contained in:
morrison-turnansky
2025-08-12 08:53:28 +00:00
committed by PyTorch MergeBot
parent fea7e9dd37
commit b9003ed3d8

View File

@ -285,7 +285,7 @@ appear in the errors, and the `VariableTracker` method that throws the
exception when you encounter a Dynamo error. In particular, sometimes we
find that an object is tracked as a `UserDefinedObjectVariable` (this
is Dynamos catch-all class), when it should have been tracked as
something more specific. In these cases, the `SourceBuilder.__call__`
something more specific. In these cases, the `VariableBuilder`
logic is often to blame.
**Debugging tip**. When running a program with `TORCH_LOGS=dynamo`,