Co-authored-by: Stefan He <11166516+hebiao064@users.noreply.github.com> Co-authored-by: Liangsheng Yin <95566987+hnyls2002@users.noreply.github.com> Co-authored-by: Baizhou Zhang <56809903+fridge003@users.noreply.github.com> Co-authored-by: DarkSharpness <76582120+darksharpness@users.noreply.github.com> Co-authored-by: ZhengdQin <46387172+zhengdqin@users.noreply.github.com> Co-authored-by: DarkSharpness <2040703891@qq.com> Co-authored-by: hnyls2002 <lsyincs@gmail.com> Co-authored-by: Zhengda Qin <zhengdqin@gmail.com> Co-authored-by: Liangsheng Yin <hnyls2002@gmail.com> Co-authored-by: HAI <hixiao@gmail.com> Co-authored-by: Baizhou Zhang <sobereddiezhang@gmail.com>
Code Structure
eval: The evaluation utilities.lang: The frontend language.srt: The backend engine for running local models. (SRT = SGLang Runtime).test: The test utilities.api.py: The public APIs.bench_offline_throughput.py: Benchmark the performance in the offline mode.bench_one_batch.py: Benchmark the latency of running a single static batch without a server.bench_one_batch_server.py: Benchmark the latency of running a single batch with a server.bench_serving.py: Benchmark online serving with dynamic requests.check_env.py: Check the environment variables and dependencies.global_config.py: The global configs and constants.launch_server.py: The entry point for launching a local server.utils.py: Common utilities.version.py: Version info.