Repository navigation
Update Optuna+Dask example to use optuna-integration - #12385
Merged
Merged
Conversation
The ``DaskStorage`` class has lived in the standalone ``optuna-integration`` package since Optuna split out third-party integrations; ``optuna.integration.DaskStorage`` no longer works in recent Optuna releases. Updated the ML hyperparameter-optimization page accordingly: * Renamed the misspelled ``DaskStore`` to ``DaskStorage`` in the prose. * Pointed users at the ``optuna-integration`` package (with install hint) for the ``DaskStorage`` object. * Replaced ``optuna.integration.DaskStorage()`` with ``DaskStorage()`` and added ``from optuna_integration import DaskStorage`` to the example. Closes dask#11270.
Contributor
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 20 files ±0 20 suites ±0 4h 56m 22s ⏱️ - 3m 3s For more details on these failures, see this check. Results for commit d42d8ff. ± Comparison against base commit ade7a30. |
xronocode
added a commit
to xronocode/pages
that referenced
this pull request
May 15, 2026
…9 + litestar #4762 - dask/dask#12385 (Optuna+Dask example update) — merged 2026-05-14 by @phofl - urllib3/urllib3#4989 (test dependency group) — merged 2026-05-14 - Mole #879 + litestar #4762: replace placeholder text with proper narratives
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11270.
Summary
The ML page's Optuna example still recommends
optuna.integration.DaskStorage(). Optuna moved third-party integrations out of the core package into the standaloneoptuna-integrationpackage; the new path isoptuna_integration.DaskStorage. The existing link in this same page already points at the optuna-integration docs, but the code example below it was never updated.This PR:
pip install optuna optuna-integration.optuna.integration.DaskStorage()withDaskStorage()and addsfrom optuna_integration import DaskStorageto the example.DaskStore(noage); it'sDaskStorage.Checks
pre-commit run --files docs/source/ml.rst— clean (codespell, eof, etc.)docutilsparses the updated RST cleanly