Skip to content

Epic: Slurm batch execution v1 #850

Open

Description

@andreatnvidia

Priority Level

High

Task Summary

Track delivery of the first installable, batch-only Slurm integration for Data Designer.

The integration will ship as an optional data-designer-slurm package under the data_designer.slurm namespace. It will provide a strict configuration-to-result path that plans and submits Data Designer generation jobs, manages model services and client execution inside static Slurm allocations, and persists enough state for observation, retry, merge, and benchmark analysis.

This is a scoped delivery slice of #160. Interactive workflows and dynamic resource management remain future work.

Technical Details & Implementation Plan

Public outcome

  • Install with pip install "data-designer[slurm]" without adding Slurm dependencies to a base-only installation.
  • Expose an optional, lazily loaded data-designer slurm command group and equivalent Python service APIs.
  • Provide profile init/validate, execute, status, cancel, retry, merge, benchmark run/analyze, and image add/ls/rm/info under that command group.
  • Accept strict, versioned run, cluster-profile, serving, image, and benchmark inputs.
  • Resolve authored input into an immutable execution plan before submission.
  • Start model services and a separate zero-GPU Data Designer client within one static allocation per shard attempt.
  • Persist run, shard, attempt, result, and output records so status, cancellation, retry, merge, and benchmark analysis work from a fresh process.
  • Support deterministic local and fake-runtime tests before real Slurm validation.

Delivery stages

  1. Define the public Data Designer boundary and establish optional packaging and CLI discovery.
  2. Freeze only the schemas shared across packages, processes, or implementation lanes, integrate the plan and runtime-state boundaries, then add reusable fake infrastructure and golden fixtures.
  3. Implement configuration and planning, serving, image management, Slurm control/runtime, the Data Designer client worker, persistent state, and benchmarks in parallel where their contracts allow it.
  4. Validate local planning, image creation, one-node generation, multi-node serving, multiple serving images, sharding/retry/merge, and benchmarks.
  5. Complete security, packaging, documentation, and release checks against the exact artifacts selected for release.

Initial foundation work

Later implementation lanes

Out of scope for v1

  • Interactive sessions, notebooks, tunnels, or detached model-server leases.
  • Dynamic allocation resizing, early GPU release, or telemetry-driven resource changes.
  • Kubernetes, Ray, a generic scheduler interface, or third-party serving plugins.
  • Object-store output semantics.
  • Runtime source checkouts, editable installs, or mutable dependency resolution.

Epic quality gates

  • A base-only installation does not install or expose the Slurm package.
  • The optional package uses only public Data Designer APIs and does not import engine internals.
  • CLI extension discovery reads package metadata without importing the optional package until its command is selected.
  • Authored inputs and persisted records are strict, versioned, deterministic, and redact secret values.
  • Cluster-specific accounts, partitions, paths, mounts, and hardware facts are supplied through configuration rather than source branches or hardcoded defaults.
  • Plans, runtime resources, images, state transitions, and published outputs are validated with checksums and atomic publication where applicable.
  • Failed or partial attempts cannot become successful shard outputs, and merge selects only validated shard winners.
  • Built-wheel installation tests, local/fake integration tests, real Slurm acceptance, documentation checks, dependency review, and source/package scans pass before release.

Investigation / Context

Related roadmap issue: #160.

The repository already uses plan and task issues to track large implementation efforts through dependency-ordered child issues. This epic follows that pattern while keeping the public scope limited to the new Data Designer capability.

Agent Plan / Findings

Start with the three foundation issues for the public Data Designer contract, optional package, and lazy CLI extension. Add issue links to the foundation checklist after those issues are created.

Shared-contract, fake-infrastructure, and feature-lane issues use public, standalone context. The plan/runtime-state boundary is tracked in #880 because it gates multiple downstream lanes; later environment-acceptance milestones remain quality gates on this epic rather than separate implementation issues.

Dependencies

Related to #160. Foundation work can start immediately.

Activity

  1. added
    planAgent-assisted development plan
    taskInternal development task
    on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    planAgent-assisted development plantaskInternal development task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions