From a5642ab30f604395d2474f105f8a04c98d82050f Mon Sep 17 00:00:00 2001 From: Chengji Yao Date: Fri, 13 Dec 2024 21:44:40 +0000 Subject: [PATCH] fix typo --- torch_xla/csrc/aten_xla_bridge.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/torch_xla/csrc/aten_xla_bridge.cpp b/torch_xla/csrc/aten_xla_bridge.cpp index bece5e35673..6344aa5d1e5 100644 --- a/torch_xla/csrc/aten_xla_bridge.cpp +++ b/torch_xla/csrc/aten_xla_bridge.cpp @@ -80,7 +80,8 @@ XLATensorImpl* GetXlaTensorImpl(const at::Tensor& tensor) { } // namespace XLATensorPtr TryGetXlaTensor(const at::Tensor& tensor) { - if (tensor.defined() && at::functionalization::impl::isFunctionalTensor(t)) { + if (tensor.defined() && + at::functionalization::impl::isFunctionalTensor(tensor)) { // To make sure we have the most updated version of tensor. at::functionalization::impl::sync(tensor); }