Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Add check for dependent packages of tuners before starting restful server #570

Merged
merged 7 commits into from
Jan 11, 2019
Merged

Conversation

egg-west
Copy link
Contributor

@egg-west egg-west commented Jan 5, 2019

I tried SMAC tuner on mnist trial. And it seems everything works fine until I failed to open WebUI. After figuring out that SMAC has 2 packages to install, I think the launcher should deal with this and show the error rather than pretend to working fine.

So I add this check in launcher.py . And to keep the maintain convenient, I copied the map from tuners' name to their module in nni to constatnts.py.

Add packages check before start restful server.
@msftclas
Copy link

msftclas commented Jan 5, 2019

CLA assistant check
All CLA requirements met.

@egg-west egg-west changed the title Add dependent package installation for tuners before start restful server Add check for dependent packages of tuners before starting restful server Jan 5, 2019
tools/nni_cmd/constants.py Outdated Show resolved Hide resolved
@chicm-ms chicm-ms merged commit 0405a42 into microsoft:master Jan 11, 2019
@egg-west egg-west deleted the linjx-0 branch January 11, 2019 05:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants