Skip to main content

master_setup

Function master_setup 

Source
pub async fn master_setup(
    cluster_key: &str,
    model_path: &Path,
    discovery_timeout: Duration,
) -> Result<Topology>
Expand description

Run the full zero-config master setup.

Discovers workers via mDNS, computes layer assignments based on VRAM, connects to each worker with mutual authentication, pushes model data as needed, and returns a Topology ready for normal inference.