Skip to content
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 missing __init__ file #1672

Closed
wants to merge 2 commits into from
Closed

Add missing __init__ file #1672

wants to merge 2 commits into from

Conversation

saitcakmak
Copy link
Contributor

@saitcakmak saitcakmak commented Jun 21, 2023

Although I can't reproduce the error locally, I believe this is the cause of the ModuleNotFoundError: No module named 'ax.models.torch.botorch_modular.input_constructors' errors in https://github.com/pytorch/botorch/actions/runs/5329180791/jobs/9654605153

Actually, I managed to repro. This is indeed the cause / fix for those failures.

Before:
Screenshot 2023-06-20 at 7 26 59 PM
After:
Screenshot 2023-06-20 at 7 29 56 PM

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jun 21, 2023
@facebook-github-bot
Copy link
Contributor

@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (02ff379) 94.80% compared to head (21a2bb0) 94.80%.

❗ Current head 21a2bb0 differs from pull request most recent head 0018f1f. Consider uploading reports for the commit 0018f1f to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1672   +/-   ##
=======================================
  Coverage   94.80%   94.80%           
=======================================
  Files         448      448           
  Lines       41233    41233           
=======================================
  Hits        39093    39093           
  Misses       2140     2140           
Impacted Files Coverage Δ
ax/service/utils/report_utils.py 82.38% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

saitcakmak added a commit that referenced this pull request Jun 21, 2023
Summary:
~Although I can't reproduce the error locally,~ I believe this is the cause of the `ModuleNotFoundError: No module named 'ax.models.torch.botorch_modular.input_constructors'` errors in https://github.com/pytorch/botorch/actions/runs/5329180791/jobs/9654605153

Actually, I managed to repro. This is indeed the cause / fix for those failures.

Before:
<img width="851" alt="Screenshot 2023-06-20 at 7 26 59 PM" src="https://github.com/facebook/Ax/assets/9263852/134ffec8-8335-4dc3-8e4d-77c4c50adc9f">
After:
<img width="849" alt="Screenshot 2023-06-20 at 7 29 56 PM" src="https://github.com/facebook/Ax/assets/9263852/e762caf8-4abc-4c80-bab4-2d7cad8d83ff">

Pull Request resolved: #1672

Reviewed By: Balandat

Differential Revision: D46884977

Pulled By: saitcakmak

fbshipit-source-id: 3873d406a4635123a44d671070f72a4013160933
@saitcakmak saitcakmak force-pushed the saitcakmak-patch-2 branch from 82edca0 to 2ae3929 Compare June 21, 2023 02:44
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46884977

Summary:
Fixes failures in lint & docs workflows.

Pull Request resolved: #1671

Differential Revision: https://internalfb.com/D46883168

Pulled By: saitcakmak

fbshipit-source-id: 06178615bdf69de685701ad23827a0b9b6310cc6
Summary:
~Although I can't reproduce the error locally,~ I believe this is the cause of the `ModuleNotFoundError: No module named 'ax.models.torch.botorch_modular.input_constructors'` errors in https://github.com/pytorch/botorch/actions/runs/5329180791/jobs/9654605153

Actually, I managed to repro. This is indeed the cause / fix for those failures.

Before:
<img width="851" alt="Screenshot 2023-06-20 at 7 26 59 PM" src="https://github.com/facebook/Ax/assets/9263852/134ffec8-8335-4dc3-8e4d-77c4c50adc9f">
After:
<img width="849" alt="Screenshot 2023-06-20 at 7 29 56 PM" src="https://github.com/facebook/Ax/assets/9263852/e762caf8-4abc-4c80-bab4-2d7cad8d83ff">

Pull Request resolved: #1672

Reviewed By: Balandat

Differential Revision: D46884977

Pulled By: saitcakmak

fbshipit-source-id: 40426d7857d47188f7c4600a34b441bd667bf58e
@saitcakmak saitcakmak force-pushed the saitcakmak-patch-2 branch from 2ae3929 to 0018f1f Compare June 21, 2023 03:19
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46884977

@@ -391,7 +391,10 @@ def get_standard_plots(
if global_sensitivity_analysis and isinstance(model, TorchModelBridge):
try:
sens = ax_parameter_sens(model, order="total")
importance_measure = '<a href="https://en.wikipedia.org/wiki/Variance-based_sensitivity_analysis">Variance-based sensitivity analysis</a>'
importance_measure = (
'<a href="https://en.wikipedia.org/wiki/Variance-based_'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

Copy link
Contributor

@esantorella esantorella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@facebook-github-bot
Copy link
Contributor

@saitcakmak merged this pull request in 637847e.

@saitcakmak saitcakmak deleted the saitcakmak-patch-2 branch September 7, 2023 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants