config: delete the dead get_server_args() bindings across the repo (#33888)

This commit is contained in:
Cheng Wan
2026-08-07 22:41:53 -07:00
committed by GitHub
parent a5af27f49e
commit eda0ddc260
14 changed files with 13 additions and 54 deletions
@@ -12,7 +12,7 @@ from sglang.srt.constrained.base_grammar_backend import (
GrammarMask,
GrammarRow,
)
from sglang.srt.runtime_context import get_exec, get_server_args
from sglang.srt.runtime_context import get_exec
from sglang.srt.sampling.custom_logit_processor import CustomLogitProcessor
from sglang.srt.sampling.penaltylib.repetition_penalty import apply_scaling_penalties
from sglang.srt.sampling.sampling_params import TOP_K_ALL
@@ -85,7 +85,6 @@ class SamplingBatchInfo:
@classmethod
def from_schedule_batch(cls, batch: ScheduleBatch, vocab_size: int):
global_server_args = get_server_args()
enable_deterministic = get_exec().deterministic.enable_deterministic_inference
reqs = batch.reqs