-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[tune] resources_per_trial from trial_resources #3580
Conversation
@visatish please review, thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we make it logger.warn and raise later?
Done |
Test FAILed. |
if "trial_resources" in spec: | ||
trial_kwargs["resources"] = json_to_resources(spec["trial_resources"]) | ||
if "resources_per_trial" in spec: | ||
trial_kwargs["resources"] = json_to_resources( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually parse the old value right? Can you add a test that using the old value is fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
er the old value is just dropped and replaced with this value early on; sure will add test
@richardliaw this looks good |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Renaming variable due to user errors.