-
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
[BE] Abstract out strings to top of file #125640
Conversation
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/125640
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit d8144ea with merge base e046c59 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest ghstack-source-id: 3a0072f6c591ff3611038e3f9caaba585ba9860f Pull Request resolved: #125640
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest cc mrshenli pritamdamania87 zhaojuanmao satgera gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj wz337 tianyu-l wconstab yf225 chauhang d4l3k [ghstack-poisoned]
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest ghstack-source-id: 9488d79e4466dc7880070338a882d9545d4df773 Pull Request resolved: #125640
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest cc mrshenli pritamdamania87 zhaojuanmao satgera gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj wz337 tianyu-l wconstab yf225 chauhang d4l3k [ghstack-poisoned]
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest ghstack-source-id: 93e48bde7e2f8b28cbca85c09144c4709afe6050 Pull Request resolved: #125640
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest cc mrshenli pritamdamania87 zhaojuanmao satgera gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj wz337 tianyu-l wconstab yf225 chauhang d4l3k [ghstack-poisoned]
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest cc mrshenli pritamdamania87 zhaojuanmao satgera gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj wz337 tianyu-l wconstab yf225 chauhang d4l3k [ghstack-poisoned]
@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 |
Merge failedReason: New commits were pushed while merging. Please rerun the merge command. Details for Dev Infra teamRaised by workflow job |
@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 |
Summary: Move const strings to top of file. This is in preparation of tooling to make use of shared constants (e.g. version string). A non-functional change. Ideally we want these const strings to be available from both C++ and Python - but I haven't figured out how to correctly share things in PyTorch. I'll do this in a subsequent change. Test Plan: python test/distributed/test_c10d_nccl.py NCCLTraceTest Pull Request resolved: pytorch#125640 Approved by: https://github.com/wconstab
Stack from ghstack (oldest at bottom):
Summary:
Move const strings to top of file. This is in preparation of tooling to
make use of shared constants (e.g. version string). A non-functional change.
Ideally we want these const strings to be available from both C++ and Python - but I haven't figured out how to correctly share things in PyTorch. I'll do this in a subsequent change.
Test Plan:
python test/distributed/test_c10d_nccl.py NCCLTraceTest
cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k