writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
deployment-exportExport, inspect, and benchmark Detectron2 models with TorchScript, optional Caffe2/ONNX paths, and safe command construction.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task involves exporting a Detectron2 model for deployment, choosing between tracing/scripting/Caffe2 tracing, inspecting TorchScript IR, preparing ONNX/Caffe2 attempts, building export commands, analyzing FLOPs/parameters/activations, or planning benchmark runs.
tracing, scripting, or optional caffe2_tracing, and to understand format/runtime limits.--export-method tracing --format torchscript for a first deployable artifact when a valid sample image or dataset sample is available.--export-method scripting --format torchscript when dynamic batch size is required and the model family is scriptable.caffe2_tracing, Caffe2 protobuf, and ONNX as optional paths that require extra dependency and runtime checks.This sub-skill owns deployment export method/format selection, TracingAdapter, scripting_with_instances, dump_torchscript_IR, optional Caffe2/ONNX planning, command construction, model analysis, and benchmark safety. Route config discovery and model-zoo checkpoint selection to ../configuration-model-zoo/. Route dataset registration and loaders to ../data-datasets/. Route training and evaluator semantics to ../training-evaluation/. Route custom trace/script compatibility design for new architectures or project extensions to ../extension-projects/.