-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Enable C++ dynamic shape guards by default #140756
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/140756
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit aa9ebe7 with merge base f5e6e52 ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Pull Request resolved: pytorch#140756 Approved by: https://github.com/anijain2305, https://github.com/laithsakka ghstack dependencies: pytorch#151225
This reverts commit dc0f09a. Reverted pytorch#140756 on behalf of https://github.com/izaitsevfb due to seem to break dynamo tests ([comment](pytorch#140756 (comment)))
|
@pytorchbot rebase -b main |
|
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
|
Rebase failed due to Command |
|
@pytorchbot rebase -b viable/strict |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
|
@pytorchbot merge |
Merge startedYour 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 |
|
The performance impact of this seems significant (see vllm-project/vllm#26320). I did notice this was turned off in fbcode by default, and that's not a good sign. Can we consider either (1) working towards aligning the fbcode and non-fbcode defaults and/or (2) benchmarking this even more to get data? |
|
This was turned off in fbcode because of issues with compiling sources on the fly internally AFAIK. @ezyang and @anijain2305 might be able to shed some light on that. Yes, if there are lots of recompiles, this might have a negative performance impact. On the other hand, this PR makes the runtime faster if the compilation time is ignored. Let's discuss in the linked issue. |
Stack from ghstack (oldest at bottom):
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames