# Edge Deployment

> Deploy ML models on edge hardware. Runtime selection, containerized edge, OTA updates, MQTT telemetry.

- Skill: `aselimc/edge-deployment` (Agent Skill)
- Install (CLI): `npx skillmds@latest add aselimc/edge-deployment`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aselimc/edge-deployment/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: aselimc (https://skillmd.com/u/aselimc)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/aselimc/edge-deployment

---


# Edge Deployment

## Runtime Selection
| Hardware | Runtime | Format |
|----------|---------|--------|
| Jetson (NVIDIA) | TensorRT | .engine |
| Mobile (ARM) | TFLite | .tflite |
| Intel CPU/GPU | OpenVINO | .xml/.bin |
| Apple Silicon | CoreML | .mlmodel |
| Any CPU | ONNX Runtime | .onnx |

## Containerized Edge
```dockerfile
FROM nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime
COPY model.engine /models/
COPY app.py /app/
CMD ["python", "/app/app.py"]
```
Use K3s for orchestration, Balena for fleet management.

## OTA Model Updates
1. Version models with hash + timestamp
2. Download new model in background
3. Validate checksum, test inference on canary input
4. Atomic swap (symlink switch)
5. Rollback on failure

## Telemetry
MQTT for lightweight device-to-cloud: detections, health, metrics.

## Key Libraries
TensorRT, TFLite, ONNX Runtime, MQTT (mosquitto), AWS IoT Greengrass

