[misc] Extract PP dynamic chunk sizing into a DynamicChunkSizer scheduler component (#37674)

This commit is contained in:
Liangsheng Yin
2026-09-02 18:35:43 -07:00
committed by GitHub
parent 0dd66def7c
commit a522c8a4b6
5 changed files with 453 additions and 413 deletions
@@ -885,8 +885,8 @@ class TestSpecialCaseDynamicChunkingPP1(ScriptedTestCase):
@staticmethod
def _script_dynamic_chunking_forced_off_on_pp1(t: ScriptedContext):
assert t.scheduler.enable_dynamic_chunking is False, (
"pp_size==1 must force enable_dynamic_chunking off even when the "
assert t.scheduler.dynamic_chunk_sizer is None, (
"pp_size==1 must leave dynamic chunking off even when the "
"server arg is True (the 'and ps.pp_size > 1' conjunct)"
)
r = t.start_req(