AGENT SKILL

lightllm

Route LightLLM serving, deployment, and validation workflows into bundled references and sub-skills.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
lightllm
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Route LightLLM serving, deployment, and validation workflows into bundled references and sub-skills.
disable-model-invocation
true

02 资源文件 10

03 SKILL.md 正文

LightLLM

LightLLM is a GPU-accelerated LLM serving framework with OpenAI-compatible, Anthropic-compatible, TGI-style, and LightLLM-native request paths. Use this skill when a user wants to start the server, understand its HTTP surface, choose a supported model/backend combination, or validate the runtime with repo-native benchmark and smoke flows.

Quick verification

If the package is not already installed, install the public lightllm distribution into a CUDA-capable Python environment first, for example with python -m pip install lightllm, then confirm that the installation is usable.

A healthy inspection environment should be able to do all of the following:

  1. Import the installed lightllm distribution.
  2. Pass python -m pip check.
  3. Report CUDA readiness from the target environment.
  4. Print python -m lightllm.server.api_server --help.

Use the bundled helper scripts when you need a fast check:

  • scripts/inspect_cuda.py for a tiny torch/CUDA smoke.
  • scripts/inspect_start_args.py for the live StartArgs surface.
  • scripts/inspect_api_surface.py for route and request-schema inspection.
  • scripts/request_smoke.py for a local /generate or /v1/* request against a running server.

Route map

serving-api

Use this sub-skill for HTTP serving, endpoint payloads, streaming, function calling, reasoning parsers, multimodal requests, health/readiness, metrics, and profiler control.

Read:

model-runtime

Use this sub-skill for supported model families, registry behavior, quantization/backend selection, multimodal model toggles, reward/RL model support, and adding a new model support path.

Read:

deployment-topologies

Use this sub-skill for single-node and multi-node launch topologies, pd_master / prefill / decode layouts, config server flows, multimodal worker placement, cache modes, RDMA/NIXL/UCX caveats, and startup sequencing.

Read:

benchmark-validation

Use this sub-skill for repository benchmarks, service throughput/QPS checks, static inference tests, prompt-cache timing, scenario regressions, and selected accuracy/validation scripts.

Read:

Cross-cutting references

Runtime notes

  • Treat the bundled references and scripts as the public operating context. Do not depend on the original checkout remaining available.
  • Prefer the smallest workflow that answers the user’s question: serving requests go to serving-api, model support questions go to model-runtime, topology and startup sequencing go to deployment-topologies, and benchmark or regression questions go to benchmark-validation.
  • For questions that mix multiple areas, start with the sub-skill that owns the user-facing action, then read the cross-cutting references above.
  • If a workflow needs a running server, use deployment-topologies first and then return here for the API or benchmark route.
  • If a question is about profiler control only, treat it as part of serving-api and benchmark-validation, not as a separate route.

Staleness check

If the repository version, package version, or supported backend story changes, refresh the provenance and routing metadata before reusing this skill.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351