[primTorch] Elementwise unary ops vi#79526
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 5fcaf70 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
I don't think we need these to be prims, do we, @Aidyn-A? |
Hi @mruberry, I agree both of these can be refs only. I decided to make is this |
Great point -- and it's a function in CUDA, too (although only the two element version, like PyTorch has). Following our previous reasoning, seems like hypot is correctly a prim, then! My mistake on that one.
No we don't have reference implementations for indexing but I think we want to use |
Right. We can use |
… into Elementwise_Unary_Ops_VI
|
@mruberry, |
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @Aidyn-A. |
Summary: This PR add primitives and references for `heaviside` and `hypot`. Depends on #80146 Pull Request resolved: #79526 Approved by: https://github.com/mruberry Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/04ef236c0df4e73eeb5049ed4755c65ef4b15ff5 Reviewed By: mehtanirav Differential Revision: D37719824 Pulled By: mehtanirav fbshipit-source-id: f5b5f7a2ce0f5141fbc1b4ef4572f96a22d323c1
This PR add primitives and references for `heaviside` and `hypot`. Depends on pytorch#80146 Pull Request resolved: pytorch#79526 Approved by: https://github.com/mruberry
This PR add primitives and references for
heavisideandhypot.Depends on #80146