Files
sglang/python/sglang
2025-04-29 02:02:24 -07:00
..
2025-04-21 00:46:09 -07:00
2025-04-16 15:26:49 -07:00
2025-04-27 07:18:10 -07:00
2024-12-19 13:44:02 +08:00
2025-04-28 12:57:08 -07: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 and dependencies.
  • global_config.py: The global configs and constants.
  • launch_server.py: The entry point for launching the local server.
  • llama3_eval.py: Evaluation of Llama 3 using the Meta Llama dataset.
  • utils.py: Common utilities.
  • version.py: Version info.