Skip to content

Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.

License

Notifications You must be signed in to change notification settings

daizutabi/hydraflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e07f9b3 · Mar 1, 2025
Jan 29, 2025
Feb 6, 2025
Feb 22, 2025
Feb 22, 2025
Mar 1, 2025
Mar 1, 2025
Feb 28, 2025
Aug 20, 2024
Mar 1, 2025
Aug 20, 2024
Mar 1, 2025
Feb 6, 2025
Mar 1, 2025

Repository files navigation

Hydraflow

PyPI Version Python Version Build Status Coverage Status

Overview

Hydraflow is a library designed to seamlessly integrate Hydra and MLflow, making it easier to manage and track machine learning experiments. By combining the flexibility of Hydra's configuration management with the robust experiment tracking capabilities of MLflow, Hydraflow provides a comprehensive solution for managing complex machine learning workflows.

Key Features

  • Configuration Management: Utilize Hydra's advanced configuration management to handle complex parameter sweeps and experiment setups.
  • Experiment Tracking: Leverage MLflow's tracking capabilities to log parameters, metrics, and artifacts for each run.
  • Artifact Management: Automatically log and manage artifacts, such as model checkpoints and configuration files, with MLflow.
  • Seamless Integration: Easily integrate Hydra and MLflow in your machine learning projects with minimal setup.

Installation

You can install Hydraflow via pip:

pip install hydraflow

Getting Started

Here is a simple example to get you started with Hydraflow:

from __future__ import annotations

from dataclasses import dataclass
from typing import TYPE_CHECKING

import hydraflow

if TYPE_CHECKING:
    from mlflow.entities import Run


@dataclass
class Config:
    count: int = 1
    name: str = "a"


@hydraflow.main(Config)
def app(run: Run, cfg: Config):
    """Your app code here."""


if __name__ == "__main__":
    app()

About

Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages