Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support image columns and media collection in multi-shard Slurm runs

未关闭
#1,114 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@nabinchha 已经在做这个了。

开始于 2026年10月29日。

评估

这个 Issue 还没有评估数据。

描述

enhancement

Problem

Slurm planning explicitly rejects image columns when array_tasks.count > 1 in packages/data-designer-slurm/src/data_designer/slurm/planning/resolution.py.

Image generation can persist media separately from dataset rows. The current collection implementation merges verified Parquet outputs; it does not consolidate shard-local media files and preserve or rewrite their references. Removing the planning guard alone would therefore leave disk-backed image outputs unsupported.

Proposed solution

Define and implement image-output handling across shard generation, retries, winner publication, and collection. Include media artifacts in the output contract as needed, give them collision-safe identities, and ensure collected rows resolve to the correct images. Specify which persistence modes are supported.

Acceptance criteria

  • A dataset with an image column can run across multiple array tasks and be collected successfully.
  • Collected media references remain valid after collection, without depending on temporary allocation storage.
  • Media names cannot collide across shards or attempts.
  • Collection uses artifacts from winning attempts only and validates required files and their integrity.
  • Missing or corrupt media produces an actionable failure; retries and repeated collection do not publish partial output.
  • Tests cover supported persistence modes, shard retries, artifact references, and collection; documentation states any remaining restrictions.

Alternatives

Use a single array task for image generation, or assemble media and dataset references manually after separate runs.

Context

Related to #850. Plugin/custom-column sharding is tracked separately.

主要语言
Python
星标
2.4k
派生
241
平均合并
22 小时 24 分钟
30 天内合并 PR
91

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA-NeMo/DataDesigner 的其他 Issue

查看 NVIDIA-NeMo/DataDesigner 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。