Overview of SGLang code structure
mainSGLang is organized into several functional modules that separate the frontend language, the backend runtime, and evaluation utilities:
lang: The frontend language used for defining programs.srt(SGLang Runtime): The backend engine responsible for running local models.multimodal_gen: An inference framework optimized for accelerated image and video generation.eval: Utilities for model evaluation.api.py: The public API surface.launch_server.py: The primary entry point for starting a local SGLang server.bench_*scripts: Various scripts for benchmarking performance, including offline throughput, single batch latency (with and without a server), and online serving latency.check_env.py: A utility to verify environment variables and dependencies.