#3939th of 433 in ML frameworks and libraries
optuna
Python hyperparameter optimization library with define-by-run search spaces
Watch puts optuna on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.optuna is on your watch list. Its new releases and problems show there.
- Stars
- 15.1k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
13,641 on 25 Mar 202615,103 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Optuna is a Python library for hyperparameter optimization. You write an objective function that calls trial.suggest_* methods, and a study runs it over many trials using samplers and pruners. Search spaces are built dynamically in plain Python, including conditionals and loops, and studies can be persisted to a database such as SQLite and run across multiple workers.
Who it is for: ML engineers and researchers tuning model hyperparameters in Python
Strengths
- Define-by-run API allows conditional and looped search spaces in ordinary Python
- Pruning of unpromising trials, plus multi-objective and constrained optimization examples
- Scales to many workers via shared storage with little code change
- Separate optuna-dashboard gives a web UI for history and parameter importance
Weaknesses
- Not tied to a model framework, so training code and integrations are yours to write
- Dashboard is a separate package, not part of the core install
- Rust port Rustuna is experimental and lacks some Optuna features
- Requires Python 3.10 or newer
What it needs
- no GPU
- Needs Python 3.10+, optional: SQLite or other database storage, optional: optuna-dashboard
What changed
- v5.1.0 ↗ (opens in a new tab)Breaking
“Drop python 3.9 by @gen740 in https://github.com/optuna/optuna/pull/6890”
- v5.0.0 ↗ (opens in a new tab)Breaking
- v4.9.0 ↗ (opens in a new tab)Breaking
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #37 | transformerlensPython library for inspecting and editing activations in language models | 83 out of 100 |
| #38 | scikit-learnPython library of classical machine learning algorithms built on NumPy and SciPy | 82 out of 100 |
| #40 | tokenizersRust tokenization library with Python, Node.js and WASM bindings | 82 out of 100 |
| #41 | metaflowPython framework for building, scaling and deploying ML and AI workflows | 82 out of 100 |
| #42 | vowpal_wabbitOnline machine learning library with contextual bandits and hashed features | 82 out of 100 |