Skip to content

Conversation

ydwu4
Copy link
Contributor

@ydwu4 ydwu4 commented Sep 14, 2023

Stack from ghstack (oldest at bottom):

This is short term workaround for #108500. In the long term, we should have separate caches if cond appears at different places in user code or per true_fn/false_fn cache.

Test Plan:
see added test. It tests cond can go beyond cache limit.

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 14, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit f0bad33 with merge base 900288f (image):
💚 Looks good so far! There are no failures yet. 💚

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

@ydwu4 ydwu4 requested a review from zou3519 September 14, 2023 20:51
@ydwu4 ydwu4 added ciflow/trunk Trigger trunk jobs on your pull request release notes: dynamo labels Sep 14, 2023
This is short term workaround for #108500. In the long term, we should have separate caches if cond appears at different places in user code or per true_fn/false_fn cache.


[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request Sep 14, 2023
ghstack-source-id: 45b2b2c
Pull Request resolved: #109318
@ydwu4 ydwu4 requested review from ezyang and anijain2305 September 14, 2023 22:48
@ydwu4
Copy link
Contributor Author

ydwu4 commented Sep 15, 2023

@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

@facebook-github-bot facebook-github-bot deleted the gh/ydwu4/27/head branch September 19, 2023 14:24
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 release notes: dynamo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants