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

Avoid errors in telemetry due to node-based GenerationStrategy #2554

Closed
wants to merge 1 commit into from

Conversation

Balandat
Copy link
Contributor

Summary:
The Ax telemetry module currently assumes that GenerationStrategy objects are all step-based. This diff a warning and returns a dummy record for those cases to avoid errors with node-based GSs.

The proper fix here is to fully support node-based GSs in telemetry, but that will be a bit more work it seems.

Differential Revision: D59193222

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

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

@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.22%. Comparing base (8bb4bcf) to head (5d728f6).

Files Patch % Lines
ax/telemetry/common.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2554      +/-   ##
==========================================
- Coverage   95.22%   95.22%   -0.01%     
==========================================
  Files         483      483              
  Lines       47228    47246      +18     
==========================================
+ Hits        44972    44988      +16     
- Misses       2256     2258       +2     

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

@facebook-github-bot
Copy link
Contributor

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

Balandat added a commit to Balandat/Ax that referenced this pull request Jul 1, 2024
…ook#2554)

Summary:
Pull Request resolved: facebook#2554

The Ax telemetry module currently assumes that `GenerationStrategy` objects are all step-based. This diff a warning and returns a dummy record for those cases to avoid errors with node-based GSs.

The proper fix here is to fully support node-based GSs in telemetry, but that will be a bit more work it seems.

Reviewed By: saitcakmak

Differential Revision: D59193222
…ook#2554)

Summary:
Pull Request resolved: facebook#2554

The Ax telemetry module currently assumes that `GenerationStrategy` objects are all step-based. This diff a warning and returns a dummy record for those cases to avoid errors with node-based GSs.

The proper fix here is to fully support node-based GSs in telemetry, but that will be a bit more work it seems.

Reviewed By: saitcakmak

Differential Revision: D59193222
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 83f23a4.

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