-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ts_converter] Support prim::max and prim::if with multiple outputs #131593
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/131593
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 0c78fd9 with merge base 5f3f14e ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D60147455 |
This pull request was exported from Phabricator. Differential Revision: D60147455 |
9e89c6a
to
4117109
Compare
…ytorch#131593) Summary: Pull Request resolved: pytorch#131593 As title. Test Plan: test_converter.py Reviewed By: angelayi Differential Revision: D60147455
# torch.randn([1, 1, 1]).to(torch.float64), | ||
# )[0], 1 | ||
# ) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe turn this into a parametrized test and merge these two tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, I tried
jit.script() failed at func(x_len, y_len)
, where func is parametrized as [builtins.min, builtins.max]
I guess scripting doesn't support capturing callable type.
test/export/test_converter.py
Outdated
M()(torch.tensor(False), torch.tensor(4)), | ||
) | ||
|
||
@unittest.skip('Wrong fx subgraph for cond, need to fix') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiashenC can take a look?
4117109
to
918718c
Compare
…ytorch#131593) Summary: Pull Request resolved: pytorch#131593 As title. Test Plan: test_converter.py Reviewed By: ydwu4, angelayi Differential Revision: D60147455
This pull request was exported from Phabricator. Differential Revision: D60147455 |
918718c
to
2a814c9
Compare
This pull request was exported from Phabricator. Differential Revision: D60147455 |
…ytorch#131593) Summary: Pull Request resolved: pytorch#131593 As title. Test Plan: test_converter.py Reviewed By: ydwu4, angelayi Differential Revision: D60147455
This pull request was exported from Phabricator. Differential Revision: D60147455 |
2a814c9
to
0c78fd9
Compare
@pytorchbot merge -f 'Landed internally' (Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally) |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: As title.
Test Plan: test_converter.py
Reviewed By: angelayi
Differential Revision: D60147455