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
hummingbirdUse Hummingbird to convert trained traditional ML models into tensor backends, validate parity, choose backends, and troubleshoot optional dependencies.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a task involves the hummingbird-ml Python package: converting trained classical ML models into PyTorch, TorchScript, ONNX, or TVM-style tensor computations; validating prediction parity; saving/loading converted containers; or diagnosing optional model-source/back-end dependencies.
hummingbird, hummingbird.ml.hummingbird-ml.hummingbird.ml.convert(...), hummingbird.ml.convert_batch(...), and hummingbird.ml.load(...).ModelProto inputs."torch"/"pytorch", "torch.jit"/"torchscript", "onnx", and optional "tvm".Install the package and extras that match the user's workflow:
python -m pip install hummingbird-ml
python -m pip install 'hummingbird-ml[onnx]' # ONNX output or ONNX-ML input workflows
python -m pip install 'hummingbird-ml[extra]' # LightGBM, XGBoost, Prophet source workflows
python -m pip install 'hummingbird-ml[sparkml]' # SparkML source workflows
Run the bundled environment probe before deeper troubleshooting:
python scripts/check_hummingbird_env.py --json
Read repo provenance when deciding whether this skill matches the current package version or should be refreshed.
| User task shape | Read next |
|---|---|
Build a basic convert(...) call, convert a fitted sklearn estimator to PyTorch, or validate predictions quickly | core conversion |
Use convert_batch, handle uneven fixed-batch inference, or recover from NotFittedError, MissingBackend, or MissingConverter in the core path | core conversion |
Decide whether a scikit-learn estimator, transformer, Pipeline, ColumnTransformer, or tree strategy is supported | sklearn pipelines and operators |
Work with ONNX output, ONNX-ML source models, onnxruntime, onnxmltools, skl2onnx, saved containers, digests, or override_flag | ONNX and model I/O |
| Convert LightGBM, XGBoost, SparkML, or Prophet models, or diagnose optional-library install/import failures | optional source models |
| Choose TorchScript, TVM, CUDA/GPU, threading, batching, or benchmark/performance options | advanced backends and performance |
convert.backend="torch" for the lowest-friction CPU parity check unless the user explicitly needs ONNX, TorchScript, TVM, or GPU execution.test_input when tracing/exporting (torch.jit, ONNX, TVM), when shapes are not obvious, or when source packages such as XGBoost need feature-count inference.predict, predict_proba, transform, decision_function, or score_samples.This skill was generated with CPU PyTorch and ONNX workflows verified. CUDA, TVM, SparkML, LightGBM, XGBoost, and Prophet are documented as optional surfaces unless the active environment separately proves those dependencies/backends.