Hypha Space Logo

hypha-scheduler CLI Reference

This document contains the help content for the hypha-scheduler command-line program.

Command Overview:

hypha-scheduler

The Hypha Scheduler discovers workers via the Hypha network and orchestrates distributed ML training jobs.

Usage: hypha-scheduler <COMMAND>

Subcommands:

hypha-scheduler init

Generate a default configuration file

Creates a TOML configuration file with sensible defaults for job orchestration, including certificate paths, network addresses, gateway connections, and job settings.

IMPORTANT: If the output file exists, it will be overwritten without warning.

Usage: hypha-scheduler init [OPTIONS]

Options:

hypha-scheduler probe

Check if a remote peer is healthy and reachable

Connects to the specified multiaddr, sends a health check request, and exits with code 0 if the peer is healthy, or non-zero otherwise.

Useful for:

NOTE: It's not possible to self-probe using the same certificate used to run the scheduler.

Usage: hypha-scheduler probe [OPTIONS] <ADDRESS>

Arguments:
Options:

hypha-scheduler run

Start the scheduler and begin job orchestration

Loads configuration, connects to gateways, discovers workers, and orchestrates training jobs. Runs until interrupted (SIGINT/SIGTERM) with a graceful shutdown.

Usage: hypha-scheduler run [OPTIONS]

Options: