-
Notifications
You must be signed in to change notification settings - Fork 527
Update Codegen.cmake for improved Python package path handling #6730
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/pytorch/executorch/6730
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 28 PendingAs of commit 0117530 with merge base bc3d437 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
c8fe063
to
3d373b6
Compare
To add the ciflow label This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows. |
@larryliu0820, @lucylq can you take a look please? |
Hi @AkiSakurai -- would you mind rebasing? Looks like there's a conflict |
|
build/Codegen.cmake
Outdated
OUTPUT_VARIABLE site-packages-out | ||
ERROR_VARIABLE site-packages-out-error | ||
RESULT_VARIABLE site-packages-result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change these names to torchgen-out
, torchgen-out-error
and torchgen-result
84cc8e0
to
f55311d
Compare
f55311d
to
6872c9d
Compare
@AkiSakurai can you rebase and handle the file move?
|
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix pytorch#6689
6872c9d
to
0117530
Compare
Thank you @AkiSakurai for your contribution |
- Modified the method of retrieving the Python site-packages path to use `importlib.util.find_spec` for better compatibility. - fix #6689
importlib.util.find_spec
for better compatibility.