Skip to content

Commit

Permalink
Fix binding of ceil
Browse files Browse the repository at this point in the history
`ceil` was accidentally bound to `torch.log`. Now it is bound to
`torch.ceil` as expected
  • Loading branch information
ctodTT committed Jan 16, 2025
1 parent 8f6d7ac commit 9c601f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test_infra/ttir_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 9c601f7

Please sign in to comment.