From 9c601f7dccf21e9e8ab84f5e283e363cb6d7ffaf Mon Sep 17 00:00:00 2001 From: Collin Tod Date: Wed, 15 Jan 2025 21:05:32 +0000 Subject: [PATCH] Fix binding of `ceil` `ceil` was accidentally bound to `torch.log`. Now it is bound to `torch.ceil` as expected --- python/test_infra/ttir_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/test_infra/ttir_builder.py b/python/test_infra/ttir_builder.py index daae39ac5..3c2d7ead0 100644 --- a/python/test_infra/ttir_builder.py +++ b/python/test_infra/ttir_builder.py @@ -404,7 +404,7 @@ def bitwise_not(self, in0: Operand) -> OpView: return self.eltwise_proxy(torch.bitwise_not, ttir.BitwiseNotOp, [in0]) def ceil(self, in0: Operand) -> OpView: - return self.eltwise_proxy(torch.log, ttir.CeilOp, [in0]) + return self.eltwise_proxy(torch.ceil, ttir.CeilOp, [in0]) def sin(self, in0: Operand) -> OpView: return self.eltwise_proxy(torch.sin, ttir.SinOp, [in0])