-
Notifications
You must be signed in to change notification settings - Fork 25.6k
fix quantization/core/test_docs for Buck2 #83341
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/83341
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit c4eaed3: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D38662169 |
5 similar comments
This pull request was exported from Phabricator. Differential Revision: D38662169 |
This pull request was exported from Phabricator. Differential Revision: D38662169 |
This pull request was exported from Phabricator. Differential Revision: D38662169 |
This pull request was exported from Phabricator. Differential Revision: D38662169 |
This pull request was exported from Phabricator. Differential Revision: D38662169 |
Summary: Pull Request resolved: #83341 We extract the test to its own target, fixing the relative path to the quantization docs. This allows us to find the docs with a more simple implementation. Test Plan: Tested locally with buck1 and buck2. Reviewed By: r-barnes Differential Revision: D38662169 fbshipit-source-id: ab23f0b8c06ef5249bbb6c0c43f919c554409656
This pull request was exported from Phabricator. Differential Revision: D38662169 |
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.
Just one potential bug. Otherwise looks great.
# no longer passing when file not found | ||
raise FileNotFoundError("could not find {}".format(path_from_pytorch)) | ||
core_dir = Path(__file__).parent | ||
assert core_dir.match("test/quantization/core/"), ( |
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.
Do you want this assert to also fail if test_docs.py
is moved to a subdirectory of test/quantization/core/
?
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
@pytorchbot successfully started a merge job. Check the current status here. |
Hey @dagitses. |
Summary: Pull Request resolved: #83341 We extract the test to its own target, fixing the relative path to the quantization docs. This allows us to find the docs with a more simple implementation. Test Plan: Tested locally with buck1 and buck2. Reviewed By: seemethere, huydhn, r-barnes Differential Revision: D38662169 fbshipit-source-id: 29704646353a44e82b1d877eeedc6adbec92352a
Summary:
We extract the test to its own target, fixing the relative path to the
quantization docs. This allows us to find the docs with a more simple
implementation.
Test Plan: Tested locally with buck1 and buck2.
Differential Revision: D38662169