计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
inference-model-loading【效率与协作】Route Qwen model loading, local or cloud inference, batch generation, backend choice, precision, quantized checkpoints, and long-context planning.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to load a Qwen checkpoint, run chat or text generation, choose a model/backend, plan batch inference, diagnose local checkpoint loading, or decide between Transformers, ModelScope, DashScope, CPU, CUDA, quantized, and long-context paths.
Qwen-* for continuation/generation, or Qwen-*-Chat for chat/chat_stream and multi-turn assistant behavior.python scripts/qwen_inference_checklist.py --model Qwen/Qwen-7B-Chat --backend auto --precision auto
| User request | Read |
|---|---|
Basic Transformers or ModelScope loading, local checkpoint fallback, model.chat, model.generate, history, or no-network setup | references/model-loading-and-inference.md |
| Model sizes, base vs chat choice, CPU/CUDA/DashScope/vLLM backend, precision, quantization, KV cache, or long-context tradeoffs | references/model-and-backend-matrix.md |
| Batch inference, ChatML stop words, vLLM transformer-like wrapper behavior, or when to route service launch elsewhere | references/vllm-and-batch-inference.md |
| Errors about missing tokenizer files, remote code, slow CPU, bad generations, optional dependencies, quantization, or memory | references/troubleshooting.md |
../serving-deployment/SKILL.md.../finetuning-quantization/SKILL.md.../prompting-tool-use-tokenization/SKILL.md.../evaluation-reproduction/SKILL.md.trust_remote_code=True visible for historical Qwen checkpoints. Remote code means code from the checkpoint is executed locally; use a trusted checkpoint source.config.json, tokenizer assets, and model shards before changing Python code.