config: read resolved config via namespace accessors (#33013)

This commit is contained in:
Cheng Wan
2026-07-31 15:06:59 -07:00
committed by GitHub
parent 4862edc85f
commit 55b6769b0e
187 changed files with 1110 additions and 923 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ import torch.distributed as dist
import zmq
from sglang.srt.managers.io_struct import sock_recv, sock_send, wrap_as_pickle
from sglang.srt.runtime_context import get_serving
# -------------------------------------- config base ------------------------------------------
@@ -1798,7 +1799,7 @@ class _SGLangPlugin(_FrameworkPlugin):
if args is None:
return None
return args.tokenizer_path
return get_serving().tokenizer_path
except Exception:
return None