Skip to navigation

Slurm images

View as MarkdownOpen in Claude

Data Designer Slurm images run vLLM model servers. The Data Designer client runs directly from the shared Python environment used to invoke the CLI; it does not require an image.

Choose a serving image

For vLLM, the simplest path is to select a release of the official vllm/vllm-openai image. You do not need to build a Data Designer client image or write a Dockerfile for this path:

data-designer slurm image add vllm/vllm-openai:v0.22.0 \
--kind serving \
--name vllm

Replace v0.22.0 with a release that supports your model and is available to your site. The CLI resolves that tag to an immutable registry digest before submitting the import job, then imports by digest on Enroot 3.5 or later. The imported image is inspected, and registration fails if its installed vLLM version does not match the requested release. The alias records the inspected version and source digest. A later change to the tag cannot silently change the submitted import.

If your site requires a customized serving environment, obtain a digest-qualified OCI reference or absolute compute-visible SQSH path from your platform administrator, or publish one through your site’s container build process. image add imports or inspects that image; it does not build a serving environment from a Dockerfile. The image must provide a vLLM executable and all runtime dependencies for the selected model.

Slurm records the inspected vLLM version as provenance and does not restrict deployments to specific release lines. Custom and nightly builds can be registered through a digest-qualified OCI reference or an existing SQSH path. Image inspection and startup readiness checks still apply; accepting a version does not establish compatibility with the selected model, launch arguments, hardware, or topology. Validate your image with a small generation run before scaling up.

Before registration, confirm that the image source is accessible from the configured CPU image-build partition and that the model is accessible from the GPU partition. Keep registry credentials in the compute environment or Enroot configuration.

Import a custom digest-pinned OCI image

The digest below demonstrates the required syntax and does not identify a real image. Replace it before running the command.

data-designer slurm image add \
registry.example.test/inference/vllm@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
--kind serving \
--name vllm

Custom OCI sources must use repository@sha256:<64 lowercase hex characters>. The official versioned vllm/vllm-openai:vX.Y.Z form above is the only supported tag-only exception. Other tags without a digest, schemes, embedded credentials, query strings, and fragments are rejected. Registry credentials belong in the compute environment or Enroot configuration, not in the command or profile.

The command stages package-owned inspection code, submits a CPU job using image_build, waits for terminal Slurm state, verifies the SQSH and inspection record, then atomically publishes the artifact and alias. The terminal stays attached while the job runs.

In an interactive terminal, image add reports the job ID, scheduler transitions, import and inspection phases, and elapsed time. It checks for new logs every 30 seconds and prints a status heartbeat after two minutes without new activity. It follows the image job’s standard output and error by default:

data-designer slurm image add vllm/vllm-openai:v0.22.0 \
--kind serving --name vllm

The progress and log stream is written to standard error with UTC timestamps; followed logs are bounded to 1 MiB and blank lines are omitted. The final readable result remains on standard output. Logs start only after the CPU job receives an allocation and may contain details emitted by the image or container runtime. The final available log output is shown before temporary job files are cleaned up, including when the job fails. Use --no-follow-logs to suppress streaming, or --follow-logs to enable it explicitly in a non-interactive session. For a machine-readable result, put --output json immediately after slurm. If you need durable logs, capture standard error in your own private file.

Register an existing SQSH

data-designer slurm image add \
/workspace/alice/images/vllm.sqsh \
--kind serving \
--name vllm

The absolute SQSH path must be visible on the image-build node and all later compute nodes. Existing images are inspected by a CPU job in place.

Inspect aliases

data-designer slurm image ls
data-designer slurm image info vllm

image ls shows each alias, image kind, detected runtime version, and SQSH path. Use image info for the full image details and hashes. --output json retains the complete registration record for scripts.

Aliases are cluster-profile scoped because each profile has its own workspace. Run configuration can reference an alias with name or a registered absolute path with path.

Replace or remove an alias

An alias is immutable unless replacement is explicit:

data-designer slurm image add /workspace/alice/images/vllm-v2.sqsh \
--kind serving \
--name vllm \
--replace

Removing an alias does not delete its SQSH artifact:

data-designer slurm image rm vllm

To delete the SQSH too, use --delete-artifact. This works only for an OCI artifact imported into the selected workspace by image add, when no other registered alias or persisted run plan references the file. Existing SQSH files registered from outside the workspace are never deleted by this command.

data-designer slurm image rm vllm --delete-artifact

The command confirms the alias removal and whether the SQSH was retained or deleted.

Published OCI imports are content-addressed. Identical imports can share an artifact, while conflicting bytes or inspection facts fail closed.

Compatibility rules

The shared client environment must remain available at the exact recorded Python path with the same Python ABI and package inventory on every compute node. It must include the Slurm extra’s compatible aiohttp dependency for the native inference proxy. Dependency overlays may add pure Python wheels, but cannot replace distributions already installed in that environment. Serving images must expose a vLLM executable; the inspected runtime version is recorded without a release-line restriction.