Skip to content
xLLM xLLM PR preview
EN

Developer Guide Overview

This section is for contributors and integrators who change xLLM or build on its extension points. Start with the request path, then move on to the extension guides and the tooling used to validate accuracy, performance, and profiles.

PageWhat it covers
Code Architecture and Request FlowTrace a request from xllm.cpp through the scheduler, engine, and workers.
C++ Serving and Python Model ExecutionWhy xLLM runs Python models inside the C++ serving path and how the layers interact.
DiT Architecture and Capability MatrixThe C++ diffusion inference path and its capability boundaries.
Graph Execution and Memory ReuseGraph Mode, dynamic dimensions, piecewise graphs, and the reusable memory pool.
PageWhat it covers
xLLM-Kernel Development GuideAdd operators and implementations for Python models.
TileLang Kernel Development on Ascend NPUAdd a kernel or a specialization and wire its runtime wrapper.
Extending Auto ConfigAdd a tuned launch config for a new model_type.
Native C++ ExtensionsBuild and load a native library that registers new implementations.
PageWhat it covers
Accuracy Evaluation with EvalScopeMeasure LLM and VLM answer accuracy through the OpenAI-compatible API.
Inference Benchmarking with EvalScopeMeasure latency and throughput with streaming workloads.
Profiling a Running ServiceCollect a timeline from a live server with /start_profile and /stop_profile.
AI-Assisted Development WorkflowStructure optimization and debugging work so results are reproducible.
Report issue