mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Fix typo in comment (#135111)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/135111 Approved by: https://github.com/aorenste, https://github.com/oulgen
This commit is contained in:
committed by
PyTorch MergeBot
parent
724faac260
commit
30b98940b8
@@ -256,7 +256,7 @@ class FXGraphCacheLoadable:
|
||||
# [Note: AOTAutogradCache and FXGraphCache Guard interactions]
|
||||
# As mentioned, AOTAutograd takes in the symint inputs from dynamo's list of arguments.
|
||||
# FXGraphCache serializes guards that are needed in the shape_env based on these symint inputs to the graph.
|
||||
# he invariant that AOTAutograd uses here is that the sources for symints given to it by dynamo are exactly
|
||||
# The invariant that AOTAutograd uses here is that the sources for symints given to it by dynamo are exactly
|
||||
# the same as the ones it passes to inductor, for both the forward and backward passes.
|
||||
# (This does not mean that the tensor values passed in are the same: only that their symints are).
|
||||
# That is, AOTAutograd and Inductor never create new guards based on symints with different sources
|
||||
|
||||
Reference in New Issue
Block a user