Skip to content

v0.6.1

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Mar 02:01
· 2382 commits to main since this release

Highlights

Dark mode support

Light mode Dark mode
Light mode Dark mode

Gunicorn support

optuna-dashboard uses wsgiref module which is NOT suitable for the production use since it has not been reviewed for security issues. From v0.6.1 release, you can use "--server gunicorn" option to run more secure and faster. If you want to know more about Gunicorn, please check the documentation.

$ pip install gunicorn
$ optuna-dashboard sqlite:///db.sqlite3 --server gunicorn

A component to take a memo

You can freely write anything in a Note area. The text is stored in study's system_attrs with version control, so it is prohibited to accidentally overwrite existing text.

optuna-dashboard-note.mp4

An official Docker image

You can use an official Docker image instead of setting up your Python environment. The Docker image only supports SQLite3, MySQL(PyMySQL), and PostgreSQL(Psycopg2).

# SQLite3
$ docker run -it --rm -p 8080:8080 -v `PWD`:/app -w /app ghcr.io/optuna/optuna-dashboard sqlite:///db.sqlite3
# MySQL (PyMySQL)
$ docker run -it --rm -p 8080:8080 ghcr.io/optuna/optuna-dashboard mysql+pymysql://username:password@hostname:3306/dbname
# PostgreSQL (Psycopg2)
$ docker run -it --rm -p 8080:8080 ghcr.io/optuna/optuna-dashboard postgresql+psycopg2://username:password@hostname:5432/dbname

Stable Python interface

optuna-dashboard now provides stable Python interfaces.

run_server(storage: Union[str, BaseStorage], host: str = 'localhost', port: int = 8080) -> None

Start running optuna-dashboard and blocks until the server terminates.
This function uses wsgiref module which is not intended for the production use.

wsgi(storage: Union[str, BaseStorage]) -> WSGIApplication

This function exposes WSGI interface for people who want to run on the
production-class WSGI servers like Gunicorn or uWSGI.

Changes

New features

Bug fixes

  • Fix bug when given inf objective value by @c-bata in #176

Other improvements

New Contributors

Full Changelog: v0.5.0...v0.6.1