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

Bring back ax/benchmark/__init__.py #2719

Closed
wants to merge 1 commit into from
Closed

Conversation

saitcakmak
Copy link
Contributor

Removing __init__.py makes the module not discoverable when installed with pip, leading to ModuleNotFoundError: No module named 'ax.benchmark'. See https://github.com/pytorch/botorch/actions/runs/10581831529/job/29320089546

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 27, 2024
@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 Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.39%. Comparing base (c51dd58) to head (772ab5f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2719   +/-   ##
=======================================
  Coverage   95.39%   95.39%           
=======================================
  Files         490      490           
  Lines       47738    47738           
=======================================
  Hits        45541    45541           
  Misses       2197     2197           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Summary:
Removing `__init__.py` makes the module not discoverable when installed with `pip`, leading to `ModuleNotFoundError: No module named 'ax.benchmark'`. See https://github.com/pytorch/botorch/actions/runs/10581831529/job/29320089546


Reviewed By: mpolson64

Differential Revision: D61861709

Pulled By: saitcakmak
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@saitcakmak merged this pull request in 30a866f.

@saitcakmak saitcakmak deleted the saitcakmak-patch-1 branch September 16, 2024 23:01
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. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants