writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
runtime-deploymentChoose and prepare WeNet runtime deployment paths for libtorch, ONNX Runtime, OpenVINO, mobile, web, GPU/Triton/TensorRT, IPEX, BPU, and XPU targets.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user wants to deploy a trained/exported WeNet model outside ordinary Python package transcription: C++ libtorch, ONNX Runtime, OpenVINO, Android, iOS, web demos, Raspberry Pi, GPU Triton/TensorRT, Intel IPEX, Horizon BPU, or Kunlun XPU.
Identify the target platform and inference engine.
If the model is not exported yet, route to ../model-export/SKILL.md.
Use the runtime chooser to list expected artifacts and prerequisites:
python sub-skills/runtime-deployment/scripts/choose_runtime.py \
--platform linux --backend libtorch
Read references/runtime-platforms.md for the platform matrix, U2 streaming concepts, artifact mapping, and deployment templates.
Read references/troubleshooting.md for build/toolchain, artifact mismatch, streaming, service endpoint, GPU, mobile, and LM/context graph failures.
Runtime builds can download SDKs, compile C++ code, start services, use GPUs, or require mobile/vendor toolchains. Do not run builds or servers unless the user authorizes platform-specific dependencies, hardware, network, ports, storage, and runtime duration. The bundled chooser is safe and only reports requirements.