Skip to content

Commit 0fce161

Browse files
author
Orbax Authors
committed
Add LOW_PRIORITY_PADDING_WITH_NEXT_ALLOWED_BATCH_SIZE to MixedPriorityBatchingPolicy.
PiperOrigin-RevId: 838864619
1 parent 979e395 commit 0fce161

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

export/orbax/export/obm_configs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ class MixedPriorityBatchingPolicy(enum.Enum):
5858
Options:
5959
LOW_PRIORITY_PADDING_WITH_MAX_BATCH_SIZE: Pad low priority inputs up to the
6060
max_batch_size.
61+
LOW_PRIORITY_PADDING_WITH_NEXT_ALLOWED_BATCH_SIZE: Pad low priority inputs
62+
up to the next allowed batch size.
6163
"""
62-
# TODO: b/417977029 - Add LOW_PRIORITY_PADDING_WITH_NEXT_ALLOWED_BATCH_SIZE,
63-
# PRIORITY_MERGE, PRIORITY_ISOLATION.
64+
# TODO: b/417977029 - Add PRIORITY_MERGE, PRIORITY_ISOLATION.
6465
LOW_PRIORITY_PADDING_WITH_MAX_BATCH_SIZE = "low_priority_padding_with_max_batch_size"
66+
LOW_PRIORITY_PADDING_WITH_NEXT_ALLOWED_BATCH_SIZE = "low_priority_padding_with_next_allowed_batch_size"
6567

6668

6769

0 commit comments

Comments
 (0)