model-serving
Plan DeepAnalyze model download, vLLM serving, Docker GPU launch, quantization, and tokenizer extension.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- model-serving
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Plan DeepAnalyze model download, vLLM serving, Docker GPU launch, quantization, and tokenizer extension.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档references/cloud-api-usage.md1.6 KB
- 参考文档references/model-customization.md3.1 KB
- 参考文档references/troubleshooting.md3.0 KB
- 参考文档references/vllm-and-docker.md4.4 KB
- 脚本scripts/quantization_command_builder.py3.1 KB
- 脚本scripts/token_tag_plan.py3.0 KB
- 脚本scripts/vllm_command_builder.py6.7 KB
03 SKILL.md 正文
model-serving
Use this sub-skill for deployment planning around DeepAnalyze-8B and its model-adjacent setup.
Use this when
- Choosing a public model source for a local checkpoint.
- Picking a vLLM launch recipe from GPU memory and desired context length.
- Deciding whether to enable FP8 KV cache.
- Planning Docker GPU startup for model serving.
- Planning quantization or tokenizer tag extension before training.
- Using a remote API-key based model service instead of local serving.
Do not use this when
- The task is about API calls, files, or client code after the server exists → use
api-and-clients. - The task is about WebUI provider selection or frontend setup → use
interactive-frontends. - The task is about SFT, RL, or benchmark runs → use
training-and-evaluation.
Operating flow
- Read
references/vllm-and-docker.mdfor the deployment matrix and command shape. - Use
scripts/vllm_command_builder.pyto print a dry-run launch command from the GPU-memory target. - Use
references/model-customization.mdandscripts/quantization_command_builder.pyfor copy-safe quantization planning. - Use
scripts/token_tag_plan.pybefore any training run that starts from DeepSeek-R1-0528-Qwen3-8B and needs the DeepAnalyze tag set. - Use
references/cloud-api-usage.mdfor remote API-key access hygiene. - Use
references/troubleshooting.mdfor Windows, VRAM, missing path, FP8, bitsandbytes, and font issues.
Safety rules
- Default to dry-run command output; do not mutate a checkpoint unless the caller explicitly asks for that action.
- Never embed API keys in code, prompts, or image builds.
- Treat source scripts as evidence for planning, not as something to run automatically in this runtime skill.
- Keep any command templates self-contained and avoid linking out to source-repo documentation.
04 同仓库更多 Skills
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.
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.
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.
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.
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.
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).