8000 Check for error messages on torch.compile with pybind'ed functions · Issue #126799 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Check for error messages on torch.compile with pybind'ed functions #126799

New issue 8000

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

Closed
Tracked by #130151
zou3519 opened this issue May 21, 2024 · 0 comments
Closed
Tracked by #130151

Check for error messages on torch.compile with pybind'ed functions #126799

zou3519 opened this issue May 21, 2024 · 0 comments
Assignees
Labels
enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: pt2-dispatcher PT2 dispatcher-related issues (e.g., aotdispatch, functionalization, faketensor, custom-op, oncall: pt2 triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Milestone

Comments

@zou3519
Copy link
Contributor
zou3519 commented May 21, 2024

These should recommend usage of the custom ops APIs. Suggested by @jansel

cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang

@zou3519 zou3519 added this to the 2.4.0 milestone May 21, 2024
@zou3519 zou3519 added the module: pt2-dispatcher PT2 dispatcher-related issues (e.g., aotdispatch, functionalization, faketensor, custom-op, label May 21, 2024
@zou3519 zou3519 self-assigned this May 21, 2024
@mlazos mlazos added enhancement Not as big of a feature, but technically not a bug. Should be easy to fix triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels May 23, 2024
zou3519 added a commit that referenced this issue May 28, 2024
…C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 28, 2024
Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 28, 2024
Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

ghstack-source-id: 7e20854
Pull Request resolved: #127301
zou3519 added a commit that referenced this issue May 29, 2024
…C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nice error message for that.

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…namo x Python C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…+ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…namo x Python C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…+ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…namo x Python C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…+ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…namo x Python C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 29, 2024
…+ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 30, 2024
…namo x Python C++ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
zou3519 added a commit that referenced this issue May 30, 2024
…+ extension"

Dynamo graph breaks on Python C/C++ extensions (e.g. pybinded
functions). The usual way to handle this is to turn those extensions
into custom ops. This PR adds a nicer graph break message and also
changes it to unconditionally warn on this graph break (because graph
break messages are usually not visible).

Fixes #126799

Test Plan:
- new test

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: pt2-dispatcher PT2 dispatcher-related issues (e.g., aotdispatch, functionalization, faketensor, custom-op, oncall: pt2 triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants
0