Skip to navigation

Data Designer on Slurm

View as MarkdownOpen in Claude

Data Designer Slurm runs Data Designer clients and optional vLLM model servers in batch allocations. Recipes can combine local models with external providers, or use CPU allocations for hosted-only generation. The optional extension owns profile selection, image inspection, submission, status, retry, result collection, and benchmark workflows.

Start with Getting Started. Use Dependencies and tools for plugins, MCP providers, and secrets, and keep the CLI reference nearby for automation.

Prerequisites

The submit environment needs:

  • Python 3.11 or later
  • sbatch, squeue, sacct, scancel, scontrol, and sinfo
  • Access to a shared workspace that is visible from the submit host and every eligible compute node

Compute nodes need srun, scancel, and scontrol, plus access to the same shared Python environment at the exact path used by the submit command. Local serving requires Enroot 3.5 or later for both digest-pinned OCI imports and existing SQSH inspection, and serving images must contain vLLM. Hosted-only runs require access to their external endpoints and do not need serving images or Enroot.

Your Slurm administrator can confirm the account, GPU partition, CPU image-build partition, GPU request mode, and shared filesystem paths for your cluster.

Where each task runs

PersonaResponsibilities
WorkstationAuthor and version dataset and Slurm configuration. Copy files to a cluster-visible location before submission.
Site-approved submit environmentInstall the CLI, select a profile, register images, submit work, inspect status, retry, cancel, and collect output. This may be a login host, editor node, or CPU allocation, depending on site policy.
Compute nodeImport or inspect serving images, start vLLM containers, run the native Data Designer client from the shared Python environment, generate records, and write managed state and results.

Run Slurm commands from a site-approved submit environment with the cluster CLI and shared filesystem. Do not install packages or run substantive work on a login node when site policy prohibits it. A laptop without the cluster CLI and shared filesystem can author configuration, but cannot validate or submit it.

Storage model

The configured workspace_root is durable and shared. It contains image metadata, immutable run inputs, Slurm logs, attempt state, winning results, and collection state. slurm merge RUN_ID collects winners under <workspace_root>/runs/<run-id>/merge-output by default. Use --output-path to select another authorized destination.

Runtime bundle extraction, the client dependency overlay, Data Designer home and cache directories, and Enroot state use allocation-local scratch. Serving containers mount that scratch at /run/data-designer-slurm; native client steps use the corresponding host path. The runtime removes it on success, failure, cancellation, and retry. Do not configure a mount that overlaps this path or expect transient scratch files to remain after a job.

Supported in v1

The public v1 surface supports named cluster profiles, serving image aliases, vLLM deployments, external model providers, hosted-only CPU runs, independent replicas, multi-node replicas, Slurm arrays, bounded array concurrency, durable status, cancellation, sparse retry, winner-driven collection, dependencies, plugins, MCP providers, and benchmarks. See External model providers for mixed and hosted-only configuration.

Interactive allocations, code-sandbox sidecars, NeMo Run, SGLang, Dynamo, Kubernetes, Ray, and platform-specific orchestration are not part of the v1 Slurm extension.