Revert RuntimeContext config-namespace reads/roles (#31813–#31817) (#32100)

This commit is contained in:
Cheng Wan
2026-07-22 11:52:41 -07:00
committed by GitHub
parent 0bdd4730af
commit f5dcbe8f14
187 changed files with 1432 additions and 1441 deletions
@@ -21,7 +21,6 @@ from sglang.srt.multiplex.pdmux_context import (
load_pdmux_config,
set_current_stream_idx,
)
from sglang.srt.runtime_context import get_disagg
if TYPE_CHECKING:
from sglang.srt.managers.schedule_batch import ScheduleBatch
@@ -37,7 +36,7 @@ class SchedulerMultiplexMixin:
self.split_prefill_batch: Optional[ScheduleBatch] = None
# for pd_multiplexing, Init stream_groups, exclude normal stream for prefill only and decode only
self.pdmux_config = load_pdmux_config(get_disagg().pdmux_config_path)
self.pdmux_config = load_pdmux_config(self.server_args.pdmux_config_path)
initialize_stream_groups(self.gpu_id, self.pdmux_config)
self.stream_groups = get_stream_groups()
self.sm_counts = get_sm_counts()