Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Epic: Slurm batch execution v1

Đang mở
#850 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python

Hướng nghiên cứu

Bắt đầu bằng việc đọc các issue nền tảng #851, #852 và #853, sau đó theo dõi các contract được liên kết qua dependency như #865, #873 và #880. Epic này hoàn tất khi package tùy chọn và lazy CLI được tích hợp với việc lập kế hoạch xác định, phạm vi bao phủ fake-runtime, trạng thái bền vững, cùng các quality gate về packaging, bảo mật, tài liệu và Slurm được liệt kê.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

plan task
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
  • #851 Define the public Data Designer contract used by the optional Slurm package.
  • #852 Add the optional data-designer-slurm package and [slurm] extra.
  • #853 Add lazy discovery for optional CLI command groups.
  • #865 Define shared runtime and state record contracts.
  • #873 Define shared authored configuration, plan, image, client-result, and benchmark records.
  • #880 Integrate Slurm plan and runtime-state contracts.
  • #872 Add deterministic fake infrastructure for Slurm integration tests.
Later implementation lanes
  • Public services, CLI commands, packaging, and documentation.
  • Configuration resolution and deterministic plan compilation.
  • #866 Typed serving resolution with vLLM support.
  • #867 Container image import, inspection, and registry operations for the Slurm container runtime.
  • #868 Slurm submission and allocation runtime.
  • Data Designer client environment and worker.
  • #869 Persistent state, retry, shard winner publication, and merge.
  • Benchmark expansion, execution, observation, and analysis.
  • #870 Runtime security review and sealed-artifact acceptance.
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.

Ngôn ngữ chính
Python
Star
2.3k
Fork
211
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA-NeMo/DataDesigner

Tất cả issue của NVIDIA-NeMo/DataDesigner

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.