Skip to content

[dynamo] Guard on HAS_GRAPH_BREAKS if graph breaks are present (i.e. cache miss if compiled object requires nopython)#114073

Closed
jon-chuang wants to merge 6 commits intopytorch:mainfrom
jon-chuang:jon-chuang/nopython-guard
Closed

[dynamo] Guard on HAS_GRAPH_BREAKS if graph breaks are present (i.e. cache miss if compiled object requires nopython)#114073
jon-chuang wants to merge 6 commits intopytorch:mainfrom
jon-chuang:jon-chuang/nopython-guard

Conversation

@jon-chuang
Copy link
Collaborator

@jon-chuang jon-chuang commented Nov 19, 2023

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 19, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 95d886f with merge base 5a96a42 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@jon-chuang

This comment was marked as outdated.

@jon-chuang
Copy link
Collaborator Author

jon-chuang commented Nov 20, 2023

Actually, if you create call resume at at return value, it's also possibly one graph too.

Let's not handle this; it's last-mile and easy to get wrong; and also possibly incorrect to handle that way.

@jon-chuang jon-chuang changed the title [dynamo] Guard on not nopython if graph breaks are present [dynamo] Guard on NO_GRAPH_BREAKS if graph breaks are present (i.e. cache miss if compiled object requires nopython) Nov 20, 2023
@jon-chuang jon-chuang changed the title [dynamo] Guard on NO_GRAPH_BREAKS if graph breaks are present (i.e. cache miss if compiled object requires nopython) [dynamo] Guard on HAS_GRAPH_BREAKS if graph breaks are present (i.e. cache miss if compiled object requires nopython) Nov 20, 2023
@ezyang
Copy link
Contributor

ezyang commented Nov 20, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 20, 2023
@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

davidberard98 added a commit that referenced this pull request Dec 7, 2023
…ent (i.e. cache miss if compiled object requires nopython) (#114073)"

This reverts commit 0bb29f9.

[ghstack-poisoned]
davidberard98 added a commit that referenced this pull request Dec 8, 2023
…S` if graph breaks are present (i.e. cache miss if compiled object requires nopython) (#114073)""

This reverts commit 0bb29f9.

Differential Revision: [D51959267](https://our.internmc.facebook.com/intern/diff/D51959267)

[ghstack-poisoned]
davidberard98 added a commit that referenced this pull request Dec 8, 2023
…ks are present (i.e. cache miss if compiled object requires nopython) (#114073)""

This reverts commit 0bb29f9.

Differential Revision: [D51959267](https://our.internmc.facebook.com/intern/diff/D51959267)

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Dec 10, 2023
…ent (i.e. cache miss if compiled object requires nopython) (#114073)" (#115384)

This reverts commit 0bb29f9.

Differential Revision: [D51959267](https://our.internmc.facebook.com/intern/diff/D51959267)

Pull Request resolved: #115384
Approved by: https://github.com/malfet
dmenig pushed a commit to dmenig/pytorch that referenced this pull request Dec 21, 2023
…ent (i.e. cache miss if compiled object requires nopython) (pytorch#114073)" (pytorch#115384)

This reverts commit 0bb29f9.

Differential Revision: [D51959267](https://our.internmc.facebook.com/intern/diff/D51959267)

Pull Request resolved: pytorch#115384
Approved by: https://github.com/malfet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[dynamo] Cacheing issue with nopython

4 participants