Skip to content

Commit

Permalink
TorchAutogradFunction"X"txProxyInterface -> TorchAutogradFunction"C"t…
Browse files Browse the repository at this point in the history
…xProxyInterface (#1147)
  • Loading branch information
crcrpar authored Sep 14, 2024
1 parent 177643b commit 0073731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion thunder/core/baseutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class TensorProxyInterface:
pass


class TorchAutogradFunctionXtxProxyInterface:
class TorchAutogradFunctionCtxProxyInterface:
pass


Expand Down
4 changes: 2 additions & 2 deletions thunder/core/proxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
ProxyInterface,
NumberProxyInterface,
TensorProxyInterface,
TorchAutogradFunctionXtxProxyInterface,
TorchAutogradFunctionCtxProxyInterface,
)
import thunder.core.baseutils as baseutils
from thunder.core.langctxs import resolve_method, get_langctx
Expand Down Expand Up @@ -1858,7 +1858,7 @@ def real(self):
return method(self)


class TorchAutogradFunctionCtxProxy(Proxy, TorchAutogradFunctionXtxProxyInterface):
class TorchAutogradFunctionCtxProxy(Proxy, TorchAutogradFunctionCtxProxyInterface):
def __init__(
self,
ctx: torch.autograd.function.FunctionCtx,
Expand Down

0 comments on commit 0073731

Please sign in to comment.