Files
sglang/python/sglang
Lianmin Zheng 2369e88209 [minor] Clean up unused imports (#2122)
Co-authored-by: rinrin32 <rinrin.int@gmail.com>
2024-11-22 01:50:42 -08:00
..
2024-10-26 04:46:01 -07:00
2024-11-08 07:42:47 +08:00
2024-11-15 06:54:00 -08:00

Code Structures

  • 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 throughput 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.
  • global_config.py: The global configs and constants.
  • launch_server.py: The entry point for launching the local server.
  • utils.py: Common utilities.