Enhance exporting torch.minimum() function to ONNX so it can handle parameters with different dtype.#75861
Enhance exporting torch.minimum() function to ONNX so it can handle parameters with different dtype.#75861fatcat-z wants to merge 2 commits intopytorch:masterfrom fatcat-z:support_minimum_op
Conversation
… dtypes. Add tests as well.
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit f9b3ea1 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
|
Please reference the GitHub issue this is fixing in the PR description. |
@fatcat-z CI is failing with this change, please address it |
|
@pytorchmergebot merge this |
|
Merge failed due to Matched rule superuser, but it was not reviewed yet by any of:husthyc,naveedgol,mthrok,zou3519,teytaud, ... |
|
@fatcat-z could you rebase this PR with upstream master? We just got a change checked in that allow us to modify "aten/src/ATen/core/interned_strings.h" and merge it quickly |
|
@pytorchmergebot merge this |
|
Merge failed due to Matched rule ONNX exporter, but it was not reviewed yet by any of:BowenBao,garymm |
|
+1 |
|
Hey @fatcat-z. |
…arameters with different dtype. (#75861) Summary: Handle the case that the parameters of torch.minimum() have different dtypes. Add tests as well. Fixes #76022 Pull Request resolved: #75861 Approved by: https://github.com/thiagocrepaldi, https://github.com/garymm Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/166568d49f7479f46d609534b505b38fb48c71eb Reviewed By: seemethere Differential Revision: D35751458 fbshipit-source-id: ea0eb817d25d9b96db1e389bb03c2c6955f58128
…arameters with different dtype. Handle the case that the parameters of torch.minimum() have different dtypes. Add tests as well. Fixes #76022 Pull Request resolved: #75861 Approved by: https://github.com/thiagocrepaldi, https://github.com/garymm (cherry picked from commit 166568d)
Handle the case that the parameters of torch.minimum() have different dtypes. Add tests as well.
Fixes #76022