$npx skillfedfor your agent

hydra-optuna-sweeper

Hydra Optuna Sweeper plugin

With conditionsPyPI Artificial IntelligenceReleased May 2022129.6K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — hydra_optuna_sweeper-1.2.0-py3-none-any.whl
v1.2.0 · released 2022-05-17 · 2 runtime deps: hydra-core, optuna

Yes, if you are already using Hydra for configuration management and want to add Optuna-powered hyperparameter optimization. The low install friction, active maintenance status, and permissive MIT license make it a straightforward addition. However, verify that this version is compatible with your target Hydra release (1.3 stable or 1.4 development) before committing, given the 2022 release date.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires hydra-core and optuna to be installed; Hydra configuration files must be set up to reference the Optuna sweeper plugin.
  • Low friction install with just two runtime dependencies (hydra-core and optuna).
  • The package is actively maintained with recent commits, though the latest release was in 2022; it remains part of the active Hydra ecosystem following the 2026 transition to independent stewardship.

License · maintenance · safety

permissive license (permissive) — MIT-licensed under permissive terms, so you can use it freely in commercial and private projects without restriction or attribution requirement.

last release 2022-05-17 (1550 days) · last repo commit 2026-08-14 · 10,596 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 129,571 downloads/mo, #11,665 on PyPI

Verify before relying

pip install hydra-optuna-sweeper

from hydra import compose, initialize
from hydra.core.config_store import ConfigStore

# Configure Optuna sweeper in your Hydra config
# Then use: python app.py --multirun hydra/sweeper=optuna
  • Whether the 2022 release date indicates the plugin is feature-complete or awaiting updates for Hydra 1.4.
  • Specific Optuna versions supported by this plugin version.
  • Whether this plugin works with both Hydra 1.3 (stable) and 1.4 (development).
Same gist for agents: .md · .json

What it is and what it does

hydra-optuna-sweeper is a plugin that bridges Hydra's configuration management system with Optuna's hyperparameter optimization library. It allows you to define complex application configurations in Hydra and then use Optuna's sophisticated sampling algorithms (including Bayesian optimization and pruning strategies) to search the parameter space automatically.

The plugin works by extending Hydra's sweeper interface, letting you specify optimization objectives and constraints declaratively in your configuration files rather than writing custom optimization loops. This is particularly useful for machine learning workflows, experiment management, and any scenario where you need to systematically explore parameter combinations guided by an optimization algorithm rather than simple grid or random search.

Use it for

  • Tune neural network hyperparameters (learning rate, batch size, layer sizes) in ML training pipelines using Bayesian optimization.
  • Optimize application configuration parameters for performance or resource usage with Optuna's pruning to stop unpromising trials early.
  • Run systematic hyperparameter searches in Hydra-based experiment frameworks without writing custom optimization code.
  • Integrate Optuna's advanced sampling strategies into existing Hydra applications to replace grid or random sweeps.
  • Manage multi-objective optimization where Hydra configs define the search space and Optuna handles the algorithm.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using Hydra for configuration management and want to add Optuna-powered hyperparameter optimization.

The low install friction, active maintenance status, and permissive MIT license make it a straightforward addition. However, verify that this version is compatible with your target Hydra release (1.3 stable or 1.4 development) before committing, given the 2022 release date.

Install

hydra-optuna-sweeper on PyPI

Before you install

Low friction install with just two runtime dependencies (hydra-core and optuna). The package is actively maintained with recent commits, though the latest release was in 2022; it remains part of the active Hydra ecosystem following the 2026 transition to independent stewardship.

Requires hydra-core and optuna to be installed; Hydra configuration files must be set up to reference the Optuna sweeper plugin.

License in practice

MIT-licensed under permissive terms, so you can use it freely in commercial and private projects without restriction or attribution requirement.

Quickstart

pip install hydra-optuna-sweeper

from hydra import compose, initialize
from hydra.core.config_store import ConfigStore

# Configure Optuna sweeper in your Hydra config
# Then use: python app.py --multirun hydra/sweeper=optuna

Verify before relying

  • Whether the 2022 release date indicates the plugin is feature-complete or awaiting updates for Hydra 1.4.
  • Specific Optuna versions supported by this plugin version.
  • Whether this plugin works with both Hydra 1.3 (stable) and 1.4 (development).

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
hydra-coreoptuna
MaintenanceActively maintained 1,550 days since the last release
Last repo commit
First released
Downloads129,571 / month, #11,665 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: hydra_optuna_sweeper-1.2.0-py3-none-any.whl

Tags

Capabilities
hydra hyperparameter optimizationoptuna sweeper pluginhydra parameter sweepbayesian hyperparameter tuningoptuna integration hydraconfiguration-driven optimizationautomated parameter search
Topics
hyperparameter-optimizationhydra-pluginbayesian-search

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “hydra hyperparameter optimization”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also hydra-core · optuna · sweeps · optuna-dashboard · optuna-integration · keras-tuner · hydra-submitit-launcher · dora-search · hydra-colorlog · ConfigSpace

Further reading