optuna_dashboard.run_server

optuna_dashboard.run_server(storage, host='localhost', port=8080, artifact_store=None, *, artifact_backend=None)

Start running optuna-dashboard and blocks until the server terminates.

This function uses wsgiref module which is not intended for the production use. If you want to run optuna-dashboard more secure and/or more fast, please use WSGI server like Gunicorn or uWSGI via wsgi() function.

Parameters:
  • storage (Union[str, BaseStorage]) –

  • host (str) –

  • port (int) –

  • artifact_store (Optional[ArtifactStore | ArtifactBackend]) –

  • artifact_backend (Optional[ArtifactBackend]) –

Return type:

None