-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Add VariableTracker.debug_repr #126299
Add VariableTracker.debug_repr #126299
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/126299
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit c6884d2 with merge base 41fabbd ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Now you can print arbitrary values at compile time with comptime.print() Signed-off-by: Edward Z. Yang <ezyang@meta.com> ghstack-source-id: aa932cc55067ba8edd1322c4578ffef47daed43d Pull Request resolved: #126299
@pytorchbot merge -f "unrelated failures" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: Now you can print arbitrary values at compile time with comptime.print() Signed-off-by: Edward Z. Yang <ezyang@meta.com> X-link: pytorch/pytorch#126299 Approved by: https://github.com/jansel ghstack dependencies: #126292 Reviewed By: huydhn Differential Revision: D57421156 Pulled By: ezyang fbshipit-source-id: a75045a564722baa243b1381a324bc9f6c061ff1
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: #126480 Approved by: https://github.com/peterbell10 ghstack dependencies: #126292, #126299
Now you can print arbitrary values at compile time with comptime.print() Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch#126299 Approved by: https://github.com/jansel ghstack dependencies: pytorch#126292
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch#126480 Approved by: https://github.com/peterbell10 ghstack dependencies: pytorch#126292, pytorch#126299
Stack from ghstack (oldest at bottom):
Now you can print arbitrary values at compile time with
comptime.print()
Signed-off-by: Edward Z. Yang ezyang@meta.com
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang