From e0684027996c60dcbb99fddf205385c208fb9ed7 Mon Sep 17 00:00:00 2001 From: IvanKobzarev Date: Thu, 24 Oct 2024 11:08:03 -0700 Subject: [PATCH] Align rrelu_with_noise schema to reflect noise mutation --- .torch_pin | 1 + torch_xla/csrc/aten_xla_type.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .torch_pin diff --git a/.torch_pin b/.torch_pin new file mode 100644 index 00000000000..56c2171208b --- /dev/null +++ b/.torch_pin @@ -0,0 +1 @@ +b9b0833546cf306aa2a63ed1c9a7d2c5c8e3b141 diff --git a/torch_xla/csrc/aten_xla_type.cpp b/torch_xla/csrc/aten_xla_type.cpp index 6e98726063f..e308263e4a5 100644 --- a/torch_xla/csrc/aten_xla_type.cpp +++ b/torch_xla/csrc/aten_xla_type.cpp @@ -3019,7 +3019,7 @@ at::Tensor XLANativeFunctions::roll(const at::Tensor& self, } at::Tensor XLANativeFunctions::rrelu_with_noise( - const at::Tensor& self, const at::Tensor& noise, const at::Scalar& lower, + const at::Tensor& self, at::Tensor& noise, const at::Scalar& lower, const at::Scalar& upper, bool training, std::optional generator) { TORCH_LAZY_FN_COUNTER_TIMED_TRACING("xla::");