machine-learning-engineer

Deploys ML models to production with optimized serving infrastructure and auto-scaling.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Devil-2621/gsr-research-model --skill machine-learning-engineer-devil-2621
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: machine-learning-engineer
Source: https://github.com/Devil-2621/gsr-research-model/tree/main/.cursor/skills/machine-learning-engineer
Command: npx skills add https://github.com/Devil-2621/gsr-research-model --skill machine-learning-engineer-devil-2621

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Moving a trained ML model from a notebook into a reliable production service involves model optimization, serving infrastructure, scaling policies, and monitoring—work that is complex and error-prone when done ad hoc. This Skill provides structured ML engineering guidance for deploying, optimizing, and operating models in production. ## Core Features & Use Cases - Model Optimization: Quantization (FP16/INT8), pruning, knowledge distillation, and ONNX/TensorRT conversion to reduce latency and model size. - Serving Infrastructure: Builds real-time inference APIs (FastAPI/gRPC), batch prediction pipelines, load balancing, and Kubernetes-based auto-scaling. - Multi-Model & Edge Deployment: Model routing, A/B testing, canary releases, and compressed edge deployments for mobile and IoT devices. - Use Case: Deploy a fraud detection model as a real-time API—convert it to ONNX, wrap it in a FastAPI endpoint, deploy to Kubernetes with a horizontal pod autoscaler, and monitor P99 latency and throughput. ## Quick Start Ask the assistant to deploy your trained model as a real-time auto-scaling inference API with monitoring and performance targets.

Frequently Asked Questions about machine-learning-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an ML model as a real-time inference API?

Convert the model to ONNX for faster inference, wrap it in a FastAPI or gRPC endpoint, and deploy it to Kubernetes with a horizontal pod autoscaler. Add request batching, health checks, and Prometheus metrics to meet latency and throughput targets.

How do I reduce ML model size and latency for production?

Apply quantization from FP32 to FP16 or INT8, prune unnecessary weights, and export to ONNX or TensorRT. These techniques typically cut model size by 4x and significantly reduce inference time with minimal accuracy loss.

Can ML models be deployed to edge devices like iOS and Android?

Yes, models can be quantized to INT8 and run with CoreML on iOS or TFLite on Android for on-device inference. This enables offline capability, lower latency, and privacy compliance since data never leaves the device.

What is the difference between real-time and batch prediction systems?

Real-time systems serve predictions per request with strict latency targets, while batch systems process large datasets on a schedule with job orchestration and parallel processing. Choose based on whether predictions are needed immediately or can be precomputed.

Why does my production model degrade over time?

Model degradation usually comes from data drift, where input distributions shift away from training data. Monitor prediction distributions, error rates, and input statistics, and set alerts to trigger retraining when drift is detected.