-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Use absolute path path.resolve()
-> path.absolute()
#129409
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/129409
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 01870ec with merge base e141cb9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot revert -m "need to revert to as dependency of #129374" -c nosignal |
@pytorchbot successfully started a revert job. Check the current status here. |
@XuehaiPan your PR has been successfully reverted. |
)" This reverts commit 135c7db. Reverted #129409 on behalf of https://github.com/malfet due to need to revert to as dependency of #129374 ([comment](#129409 (comment)))
@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 |
@pytorchbot revert -m "Breaking internal CI, @albanD please help get this PR merged" -c ghfirst |
@pytorchbot successfully started a revert job. Check the current status here. |
)" This reverts commit 45411d1. Reverted #129409 on behalf of https://github.com/jeanschmidt due to Breaking internal CI, @albanD please help get this PR merged ([comment](#129409 (comment)))
@XuehaiPan your PR has been successfully reverted. |
|
||
sys.path.insert(0, str(REPO_ROOT)) | ||
|
||
from tools.stats.import_test_stats import get_disabled_tests |
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.
Looks like internal failure on this line:
ModuleNotFoundError: No module named 'tools'
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.
I guess the path insert above doesn't work anymore.
cc @eellison why is this needed? We really shouldn't play with python path to find tests?
Stack from ghstack (oldest at bottom):
path.resolve()
->path.absolute()
#129409Changes:
.absolute()
:Path(__file__)
->Path(__file__).absolute()
path.resolve()
withpath.absolute()
if the code is resolving the PyTorch repo root directory.cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @peterbell10