optuna_dashboard.run_server
- optuna_dashboard.run_server(storage, host='localhost', port=8080, artifact_store=None, *, artifact_backend=None, llm_provider=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 (str | BaseStorage) – Optuna storage.
port (int) – The port number to listen on.
host (str) – The hostname or IP address to bind to.
artifact_store (ArtifactStore | ArtifactBackend | None) – Optuna’s Artifact store (optional).
llm_provider (LLMProvider | None) – LLM providers defined under the
optuna_dashboard.llmpackage (optional).artifact_backend (ArtifactBackend | None)
- Return type:
None