[primTorch] support one tensor and two scalars in _prims.where#80146
[primTorch] support one tensor and two scalars in _prims.where#80146Aidyn-A wants to merge 7 commits intopytorch:masterfrom
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 59a73ec (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. |
Co-Authored-By: Mike Ruberry <38511765+mruberry@users.noreply.github.com>
|
Hi @mruberry , I have implemented the changes that we are agreed to do. |
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Merge failed due to This PR is too stale; the last push date was more than 3 days ago. Please rebase and try again. |
|
@pytorchbot merge -g |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @Aidyn-A. |
… (#80146) Summary: Fixes an issue of supporting two scalar arguments for `where` and other functions with similar set of arguments: ``` refs.where(a, 1, 0) ``` I had to skip `test_python_ref_executor` because the test causes a `Segmentation fault` when running with two scalars. The issue csarofeen#1770 has been fixed csarofeen#1774, so we can lift the skip when its merged to the upstream. Pull Request resolved: #80146 Approved by: https://github.com/ngimel Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/74fb6ee4c5303da9980bb6658d4989fbba0c9432 Reviewed By: b0noI Differential Revision: D37536899 fbshipit-source-id: eb01318424186cc9205408fbbd61ef23da9e87d5
This PR add primitives and references for `heaviside` and `hypot`. Depends on #80146 Pull Request resolved: #79526 Approved by: https://github.com/mruberry
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
…ch#80146) Fixes an issue of supporting two scalar arguments for `where` and other functions with similar set of arguments: ``` refs.where(a, 1, 0) ``` I had to skip `test_python_ref_executor` because the test causes a `Segmentation fault` when running with two scalars. The issue csarofeen#1770 has been fixed csarofeen#1774, so we can lift the skip when its merged to the upstream. Pull Request resolved: pytorch#80146 Approved by: https://github.com/ngimel
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
Fixes an issue of supporting two scalar arguments for
whereand other functions with similar set of arguments:I had to skip
test_python_ref_executorbecause the test causes aSegmentation faultwhen running with two scalars.The issue csarofeen#1770 has been fixed csarofeen#1774, so we can lift the skip when its merged to the upstream.