Improve code style of sampler (#1168)

This commit is contained in:
Liangsheng Yin
2024-08-21 16:48:24 -07:00
committed by GitHub
parent ac1b74fa85
commit 83e23c69b3
10 changed files with 268 additions and 194 deletions

View File

@@ -54,7 +54,7 @@ from sglang.srt.managers.schedule_batch import Req, ScheduleBatch
from sglang.srt.model_config import ModelConfig
from sglang.srt.model_executor.forward_batch_info import ForwardMode
from sglang.srt.model_executor.model_runner import ModelRunner
from sglang.srt.sampling_params import SamplingParams
from sglang.srt.sampling.sampling_params import SamplingParams
from sglang.srt.server_args import ServerArgs
from sglang.srt.utils import suppress_other_loggers