Support plugin and custom columns in multi-shard Slurm runs

Open
#1,113 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@nabinchha is already working on this.

Since Oct 29, 2026.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Python
Stars
2.4k
Forks
258
Avg merge
4d 20m
Merged PRs (30d)
32

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA-NeMo/DataDesigner

All issues in NVIDIA-NeMo/DataDesigner

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.