executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
serving-export-and-toolsServe ModelScope pipelines, plan vLLM handoffs, use exporter APIs, and safely inspect checkpoint utility side effects.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task asks for ModelScope HTTP serving, vLLM ModelScope integration, exporter APIs, Docker launch patterns, or safe planning around large/destructive checkpoint utilities.
python scripts/checkpoint_conversion_plan.py --help.pipeline(...), Model.from_pretrained(...) inference, and
task/model construction belong in ../pipelines-and-models/SKILL.md.../hub-and-cli/SKILL.md.ModelScope server is the ModelScope FastAPI wrapper. Its core CLI shape is:
modelscope server \
--model_id "$MODEL_ID_OR_LOCAL_MODEL_DIR" \
--revision "$REVISION" \
--host 127.0.0.1 \
--port 8000 \
--debug info \
--external_engine_for_llm True
The inspected wrapper parses --external_engine_for_llm with Python bool;
verify target-version behavior before assuming a string value disables it.
vLLM is a separate runtime. Use the ModelScope-aware vLLM pattern only when vLLM is installed and the model is vLLM-compatible:
VLLM_USE_MODELSCOPE=True python -m vllm.entrypoints.openai.api_server \
--model "$MODEL_ID_OR_LOCAL_MODEL_DIR" \
--revision "$REVISION" \
--port 9090