-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pow operation needs support for Tensor exponent variant #13857
Comments
@rtawfik01 , we need a llk for power to support having the exponents in a tile. I think we need to have #13857 where we get another destination register perhaps? |
fyi @ttmtrajkovic , this is similar to the issue of: #13582
These all have the issue issue of needing SFPU to work with binary inputs |
This work is critical for models being developed from Pytorch2 and hence the P0 status |
Please list explicitly which ops is this blocking. I don't mind the P0 status but we need to differentiate between levels of blocking - is this blocking an entire project or several ops? |
We are blocked specifically on this op here: https://docs.tenstorrent.com/tt-metalium/latest/tt_metal/apis/kernel_apis/compute/power_tile.html |
Hi @ttmtrajkovic , |
hey @ttmtrajkovic, we are reviewing eltwise blockers for generality. It's looking like this will be the top blocker, and we likely want to escalate the need for this feature to get unblocked. Just heads up. We will update here again in a few hours. |
I've started my assessment for this issue. We know that this depends on a new op class - Binary SFPU OPs, and that we will also need to work on a new algorithm for implementing eltwise-pow with tensor base and exponent. More updates to follow shortly |
With the latest 2 commits on my branch The LLK APIs for the basic binary OPs (Add, Sub, Mul) are ready in |
@KalaivaniMCW , @umadevimcw & @VirdhatchaniKN , let's plan this out. |
Hi @rdjogoTT , @eyonland , Should we modify the current implementation in Do we modify this |
Yes, current eltwise binary OPs are all on FPU. I don't know the answer to your questions, I think the decisions need to be made from the tt-metal side depending on the requirements for this new OP class. One additional question that may be relevant to deciding how to implement this is how to handle users calling one of the eltwise binary OPs like |
Pow is moving along well, I get PCC of >0.99998 for Also, @KalaivaniMCW can I ask that as part of your change you also add the changes needed for doing the SPFU binary Pow OP? I think it would be called as |
At present,
ttnn.pow
supports Tensorinput
, scalarexponent
.For Pytorch tracing #13373, we need support for ttnn.pow with Tensor
input
, Tensorexponent
.https://github.com/tenstorrent/pytorch2.0_ttnn/blob/main/docs/operations/aten.pow.Tensor_Tensor.md
Is this support possible ?
cc: @eyonland
The text was updated successfully, but these errors were encountered: