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

Reduce complexity in wait_for_trials_and_report_results #3175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paschai
Copy link
Contributor

@paschai paschai commented Dec 13, 2024

Summary:
This diff contains the following changes:

  1. Deprecates ESSs seconds_between_polls, as we can leverage SchedulerOption's init_seconds_between_polls instead
  2. Set SchedulerOption's seconds_between_polls_backoff_factor to 1 if an ESS is provided
  3. Use a try-catch in wait_for_completed_trials_and_report_results when doing idle_callback, so it doesn't fail the Scheduler

Differential Revision: D67178422

Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ax-archive ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 4:32pm

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

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

@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2024

Codecov Report

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

Project coverage is 95.82%. Comparing base (7ea8402) to head (078c923).

Files with missing lines Patch % Lines
ax/service/scheduler.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3175      +/-   ##
==========================================
- Coverage   95.82%   95.82%   -0.01%     
==========================================
  Files         503      503              
  Lines       50850    50840      -10     
==========================================
- Hits        48727    48716      -11     
- Misses       2123     2124       +1     

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

paschai added a commit to paschai/Ax that referenced this pull request Dec 13, 2024
)

Summary:

This diff contains the following changes:
1. Deprecates ESSs `seconds_between_polls`, as we can leverage SchedulerOption's `init_seconds_between_polls` instead
2. Set SchedulerOption's `seconds_between_polls_backoff_factor` to 1 if an ESS is provided
3. Use a try-catch in `wait_for_completed_trials_and_report_results` when doing `idle_callback`, so it doesn't fail the Scheduler

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

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

)

Summary:

This diff contains the following changes:
1. Deprecates ESSs `seconds_between_polls`, as we can leverage SchedulerOption's `init_seconds_between_polls` instead
2. Set SchedulerOption's `seconds_between_polls_backoff_factor` to 1 if an ESS is provided
3. Use a try-catch in `wait_for_completed_trials_and_report_results` when doing `idle_callback`, so it doesn't fail the Scheduler

Reviewed By: mgarrard

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

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants