Skip to content

base

base

Allocation provider contract.

Provider

Bases: ABC

One configured backend capable of allocating an execution.

solve(execution: Combobulation, config: DispatchConfig, timeout: float = 30.0) -> HardwareResult | None abstractmethod

Return hardware for an execution, or None when unavailable.

ship(spec: DispatchSpec, config: DispatchConfig, timeout: float = 30.0) -> ShipResult abstractmethod

Publish and launch one dispatch.