docs(rollout): edit rename_map instructions

This commit is contained in:
Steven Palma
2026-04-22 13:59:55 +02:00
parent 8d1401abe3
commit bff2d50dc1
2 changed files with 9 additions and 21 deletions
+2 -3
View File
@@ -289,9 +289,8 @@ class RolloutConfig:
raise ValueError("--policy.path is required for rollout")
# --- Task resolution ---
# When --dataset.rename_map (or any --dataset.* flag) is passed, draccus
# creates a DatasetRecordConfig with single_task="". If the user set
# the task via the top-level --task flag, propagate it so that all
# When any --dataset.* flag is passed, draccus creates a DatasetRecordConfig with single_task="".
# If the user set the task via the top-level --task flag, propagate it so that all
# downstream consumers (inference engine, dataset frame builders) see it.
if self.dataset is not None and not self.dataset.single_task and self.task:
logger.info("Propagating top-level task '%s' to dataset config", self.task)