Support plugin and custom columns in multi-shard Slurm runs

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

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

@nabinchha đang làm issue này rồi.

Từ ngày 29/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement

Problem

Slurm runs with array_tasks.count > 1 reject plugin and custom column types through the fixed _SHARDABLE_COLUMN_TYPES allowlist in packages/data-designer-slurm/src/data_designer/slurm/planning/resolution.py. This also blocks extensions that generate each row independently and could run safely across array tasks. Single-array-task runs already support plugins.

Proposed solution

Define how an extension declares compatibility with independent shard execution, and allow compatible plugin/custom columns through planning. The contract should cover state shared across rows or processes, external side effects, and behavior when a shard attempt is retried. The exact API should be decided during design; installing a plugin alone should not imply shard compatibility.

Acceptance criteria

  • A row-independent plugin column can generate a dataset across multiple array tasks and be collected successfully.
  • Compatible custom columns have a supported path, including portable configuration and callable loading where applicable.
  • Unsupported or undeclared semantics receive an actionable planning error.
  • Tests cover dependency availability on workers, config round trips, failed-shard retries, winner selection, and compatible output schemas.
  • Documentation explains the compatibility contract and distinguishes array-task sharding from multi-node model serving.

Alternatives

Keep plugin/custom workflows in a single array task, which prevents dataset-level scale-out even when the extension is suitable for independent execution.

Context

Related to #850. Image-column sharding is tracked separately because it also requires media-artifact collection.

Ngôn ngữ chính
Python
Star
2.4k
Fork
258
Merge trung bình
4 ngày 20 phút
Pull request đã merge (30 ngày)
32

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.