Skip to content

Commit

Permalink
Revert part of some breaking changes in using rate_per_task_name
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 596903315
  • Loading branch information
tomvdw authored and SeqIO committed Jan 9, 2024
1 parent 19e6aec commit 6df1412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seqio/experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def add_fully_cached_mixture(
return MixtureRegistry.add(
new_name,
[
(new_t.name, mixture.rate_per_task_name[old_t.name])
(new_t.name, mixture._task_to_rate[old_t.name]) # pylint:disable=protected-access
for old_t, new_t in zip(mixture.tasks, new_tasks)
],
)
Expand Down

0 comments on commit 6df1412

Please sign in to comment.