Skip to main content

Utilities for making hydra scale to ML workflows

Project description

hydra-zen helps you configure your project using the power of Hydra, while enjoying the Zen of Python!

hydra-zen eliminates the boilerplate code that you write to configure, orchestrate, and organize the results of large-scale projects, such as machine learning experiments. It does so by providing Hydra-compatible tools that dynamically generate “structured configurations” of your code, and enables Python-centric workflows for running configured instances of your code.

hydra-zen offers:

  • Functions for automatically and dynamically generating structured configs that can be used to fully or partially instantiate objects in your application.

  • The ability to launch Hydra jobs, complete with parameter sweeps and multi-run configurations, from within a notebook or any other Python environment.

  • Incisive type annotations that provide enriched context about your project’s configurations to IDEs, type checkers, and other tooling.

  • Runtime validation of configurations to catch mistakes before your application launches.

  • Equal support for both object-oriented libraries (e.g., torch.nn) and functional ones (e.g., jax and numpy).

These functions and capabilities can be used to great effect alongside PyTorch Lightning to design boilerplate-free machine learning projects!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hydra_zen-0.3.0rc4.tar.gz (58.6 kB view hashes)

Uploaded Source

Built Distribution

hydra_zen-0.3.0rc4-py3-none-any.whl (43.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page