Support plugin and custom columns in multi-shard Slurm runs

Aperta
#1,113 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@nabinchha ci sta già lavorando.

Dal 29/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
2.4k
Fork
258
Merge medio
4g 20m
PR unite (30g)
32

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA-NeMo/DataDesigner

Tutte le issue di NVIDIA-NeMo/DataDesigner

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.