Skip to content

[FIX] Epoch not finished when using runtime budget #361

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

Closed
1 task done
ravinkohli opened this issue Dec 10, 2021 · 0 comments
Closed
1 task done

[FIX] Epoch not finished when using runtime budget #361

ravinkohli opened this issue Dec 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ravinkohli
Copy link
Contributor

ravinkohli commented Dec 10, 2021

NOTE: ISSUES ARE NOT FOR CODE HELP - Ask for Help at https://stackoverflow.com

Your issue may already be reported!
Also, please search on the issue tracker before creating one.

  • I'm submitting a ...
    • bug report

Issue Description

  • When Issue Happens
    When running test_train_pipeline_with_runtime (check test run here), I get ZeroDivisionError: float division by zero at this line.

  • Steps To Reproduce

    1. Run test_train_pipeline_with_runtime on reg_cocktail, I think we see the issue there because the default configuration is different and larger than that in development.

Expected Behavior

In case the epoch is not finished and hence N==0, we should raise a warning to the user but exit the function without the error otherwise its wasted func_eval_time even if the configuration performed well.

Current Behavior

When N==0 there is an error which leads to wasted func_eval_time as well as marking a configuration as crashed when it could have been good.

Possible Solution

Check if N==0 and raise a warning rather than the error.

Error message

ZeroDivisionError: float division by zero

Your Local environment

  • Operating System: Ubuntu, version: 20.04
  • Python, version: 3.8
  • Outputs of pip freeze or conda list

Make sure to add all the information needed to understand the bug so that someone can help.
If the info is missing, we'll add the 'Needs more information' label and close the issue until there is enough information.

@ravinkohli ravinkohli self-assigned this Dec 10, 2021
@ravinkohli ravinkohli added the bug Something isn't working label Dec 10, 2021
@ravinkohli ravinkohli mentioned this issue Dec 25, 2021
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant