tinyhumansai/openhuman · error

step `{label}` timed out after {:?}

Error message

step `{label}` timed out after {:?}

What it means

A Kompress provisioning step (venv creation, pip install of torch/transformers, model download) exceeded its step timeout. The python command itself ran; it just did not finish in time — typical on slow links downloading multi-GB wheels.

Source

Thrown at src/openhuman/runtime/python_server/kompress.rs:268

) -> Result<()> {
    log::debug!(
        "[runtime_python_server::kompress] step `{label}`: {} {:?}",
        python_bin.display(),
        args
    );
    let mut cmd = Command::new(python_bin);
    cmd.args(args);
    cmd.env("HF_HOME", hf_home);
    cmd.env("HF_HUB_DISABLE_TELEMETRY", "1");
    cmd.kill_on_drop(true);
    // Re-provisioning can run mid-session if the venv is missing/corrupted, so
    // suppress the Windows conhost flash here too (GH-4814).
    crate::openhuman::inference::local::process_util::apply_no_window(&mut cmd);

    let output = match tokio::time::timeout(timeout, cmd.output()).await {
        Ok(Ok(o)) => o,
        Ok(Err(e)) => return Err(e).with_context(|| format!("spawning step `{label}`")),
        Err(_) => bail!("step `{label}` timed out after {:?}", timeout),
    };
    if !output.status.success() {
        let stderr = String::from_utf8_lossy(&output.stderr);
        let tail: String = stderr
            .chars()
            .rev()
            .take(800)
            .collect::<String>()
            .chars()
            .rev()
            .collect();
        bail!("step `{label}` failed (status {}): {tail}", output.status);
    }
    Ok(())
}

#[cfg(test)]
mod tests {

View on GitHub (pinned to 7491200858)

Solutions

  1. Retry provisioning once the network/disk bottleneck clears
  2. Pre-warm the HF cache or use a faster mirror
  3. Run provisioning when the machine is idle
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/openhuman/runtime/python_server/kompress.rs:268 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/556ff33a348946ce. Report an issue: GitHub.