Skip to main content
Write custom Python recipes for training, evaluation, and other AI workflows using adaptive_harmony.

Getting Started

Building Recipes

Training & Evaluation

Quick Reference

Upload a recipe:
adaptive.recipes.upload(
    path="/path/to/recipe.py",  # or directory
    recipe_key="my-recipe",
    name="My Training Recipe"
)
When uploading a directory, the entry point must be main.py and all imports must be relative (e.g., from .utils import helper).
Run a recipe:
job = adaptive.jobs.run(
    recipe_key="my-recipe",
    num_gpus=2,
    args={"model": "llama-3.1-8b", "dataset": "my-data"}
)