KEMBAR78
[ONNX] Unify ONNXProgram and remove the old one by justinchuby · Pull Request #136281 · pytorch/pytorch · GitHub
Skip to content

Conversation

@justinchuby
Copy link
Collaborator

@justinchuby justinchuby commented Sep 18, 2024

Stack from ghstack (oldest at bottom):

Note

test_fx_to_onnx_with_onnxruntime.py is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274

cc @albanD

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 18, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/136281

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 395c9dc with merge base 9abdc62 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the release notes: onnx torch.onnx related changes that should show up in the release notes label Sep 18, 2024
justinchuby added a commit that referenced this pull request Sep 18, 2024
ghstack-source-id: d5ae885
Pull Request resolved: #136281
@justinchuby justinchuby added module: onnx Related to torch.onnx suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter) labels Sep 18, 2024
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 18, 2024
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 18, 2024
ghstack-source-id: ff06bcb
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
@justinchuby justinchuby added the topic: bc breaking topic category label Sep 18, 2024
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back.

Fixes #136274


[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 18, 2024
ghstack-source-id: ada375f
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO

- Make sure onnxprogram is importable w/o onnxscript
- Update fx tests

## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back.

Fixes #136274


[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 19, 2024
ghstack-source-id: 5a72b1e
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO

- Make sure onnxprogram is importable w/o onnxscript
- Update fx tests

## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back.

Fixes #136274


[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 19, 2024
ghstack-source-id: 1852d59
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO

- Make sure onnxprogram is importable w/o onnxscript
- Update fx tests

## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back.

Fixes #136274


[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 19, 2024
ghstack-source-id: 0e4c585
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO

- Make sure onnxprogram is importable w/o onnxscript
- Update fx tests

## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back.

Fixes #136274


[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 19, 2024
ghstack-source-id: 94d4280
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274


[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 23, 2024
ghstack-source-id: dd50af4
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skipping PR sanity check for code removal sounds good!
Thanks for the cleanup!

## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274


cc albanD

[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 24, 2024
ghstack-source-id: cd9428a
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274


cc albanD

[ghstack-poisoned]
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274


cc albanD

[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 24, 2024
ghstack-source-id: f6bca05
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274


cc albanD

[ghstack-poisoned]
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes #136274


cc albanD

[ghstack-poisoned]
justinchuby added a commit to justinchuby/pytorch that referenced this pull request Sep 24, 2024
ghstack-source-id: e4e7f81
Pull Request resolved: pytorch#136281

Signed-off-by: Justin Chu <justinchu@microsoft.com>
@justinchuby
Copy link
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@justinchuby
Copy link
Collaborator Author

@pytorchbot merge -f "All relevant tests passed"

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Sep 24, 2024
PaliC pushed a commit to PaliC/pytorch that referenced this pull request Sep 25, 2024
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes pytorch#136274

Pull Request resolved: pytorch#136281
Approved by: https://github.com/xadupre, https://github.com/albanD
PaliC pushed a commit to PaliC/pytorch that referenced this pull request Sep 25, 2024
BoyuanFeng pushed a commit to BoyuanFeng/pytorch that referenced this pull request Sep 25, 2024
## Note

`test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back.

Fixes pytorch#136274

Pull Request resolved: pytorch#136281
Approved by: https://github.com/xadupre, https://github.com/albanD
BoyuanFeng pushed a commit to BoyuanFeng/pytorch that referenced this pull request Sep 25, 2024
@github-actions github-actions bot deleted the gh/justinchuby/103/head branch October 25, 2024 02:10
self.options.diagnostic_context,
fake_context=self.options.fake_context,
model_torch=self.model,
return _onnx_program.ONNXProgram(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justinchuby How do we call io_adapter in this scenario?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged module: onnx Related to torch.onnx open source release notes: onnx torch.onnx related changes that should show up in the release notes skip-pr-sanity-checks suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter) topic: bc breaking topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants