Skip to content

Commit 5303cfd

Browse files
committed
more
1 parent 103b6ed commit 5303cfd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

users/zeyer/experiments/exp2026_05_23_returnn.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,15 @@ def loq_train(
871871
task_extra_kwargs = {}
872872
if train_seq_ordering is not None:
873873
task_extra_kwargs["train_seq_ordering"] = train_seq_ordering
874+
# Same only-when-set passthrough as train_seq_ordering above:
875+
# unset, the task call stays byte-identical, so existing job hashes are unaffected.
876+
# Context: the shared train_post carries "__multi_proc_dataset_opts": {"num_workers": 25},
877+
# but that is the v3 key; train_v4 reads "__multi_proc_dataset" (see the WARNING there),
878+
# so it never applied, and every run here used the task default of 2 workers --
879+
# which is why both backends sit at a ~0.25 s/batch loader ceiling on base-small.
880+
multi_proc = config.pop("multi_proc", None)
881+
if multi_proc is not None:
882+
task_extra_kwargs["multi_proc"] = multi_proc
874883
task = get_loquacious_task_raw_v2(
875884
vocab=vocab, subset_name=subset, train_epoch_split=train_epoch_split, **task_extra_kwargs
876885
)

0 commit comments

Comments
 (0)