Index
slurm
¶
SLURM allocation provider.
PartitionConfig(name: str, default: bool = False, constraint: str | None = None)
dataclass
¶
One SLURM partition available through a login host.
SlurmConfig(ssh: str, cluster: str, type: Literal['slurm'] = 'slurm', partitions: list[PartitionConfig] = list(), account: str | None = None, qos: str | None = None, mem: str | None = None, time: str = '14-0', exclude: list[str] = list(), uv_groups: list[str] = list(), chips: dict[str, int] | None = None, cpu_partitions: list[str] = list(), annotations: dict[str, str] = dict(), env: dict[str, str] = dict())
dataclass
¶
A SLURM cluster allocated through an SSH login host.
SlurmProvider(name: str, host: SlurmConfig)
dataclass
¶
Bases: Provider
Solve allocations through one SLURM login host.
solve(execution: Combobulation, config: DispatchConfig, timeout: float = 30.0) -> HardwareResult | None
¶
Query the head node and return schedulable hardware.
ship(spec: DispatchSpec, config: DispatchConfig, timeout: float = 30.0) -> ShipResult
¶
Publish a dispatch on shared storage and submit it once to SLURM.