Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
deployment【部署与运维】Deploy PaddleX pipelines and models with high-performance inference, serving, Paddle2ONNX, GenAI client/server, backend plugins, and hardware-specific runtime caveats.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to deploy, accelerate, serve, convert, or host PaddleX outputs. Typical requests mention high-performance inference (HPI), use_hpip, serving, high-stability serving, Paddle2ONNX, ONNX/TensorRT/OpenVINO, paddlex --install, paddlex_genai_server, GenAI client/server, or hardware-specific runtime setup.
Route away from this sub-skill when the task is:
../pipelines/ first.create_model prediction — use ../modules/ first.Read references/deployment-overview.md for command patterns and backend boundaries. Read references/deployment-troubleshooting.md for plugin, HPI, server, GenAI, Paddle2ONNX, and hardware failures.
paddlex --install serving
paddlex --install paddle2onnx
paddlex --install hpi-cpu
paddlex --install hpi-gpu
paddlex --install genai-client
paddlex --install genai-vllm-server
paddlex --install genai-sglang-server
Install only the plugin needed for the selected workflow. Do not install GPU/HPI/GenAI server stacks merely for a CPU pipeline smoke.
# Pipeline serving.
paddlex --serve --pipeline image_classification --host 0.0.0.0 --port 8080
# Pipeline prediction with HPI enabled when the environment supports it.
paddlex --pipeline image_classification --input demo.jpg --save_path output --use_hpip
# Paddle2ONNX conversion of an exported Paddle model directory.
paddlex --paddle2onnx --paddle_model_dir ./inference_model --onnx_model_dir ./onnx --opset_version 7
# GenAI server entry point for supported backends/models.
paddlex_genai_server --help
Use scripts/check_deployment_options.py to inspect installed plugin/import availability and print the deployment commands this skill expects.
python scripts/check_deployment_options.py
This helper is read-only; it does not install plugins or start servers.