Articles & News / Engineering

Multiple models on one Hi3516CV610: model surgery, retraining and NPU scheduling

2026-08-21·Engineering
A low-power SoC has little compute and bandwith to spare. Dropping a model in is only the start — the real work is editing the model, retraining it on field data, scheduling several models on the same NPU, and using post-processing to fill the gaps.
Multi-model inference on Hi3516CV610

1. Why this class of SoC

These parts balance power, cost and integration: ISP and NPU on chip, suitable for battery-powered cameras, doorbells and monitoring devices. The trade-off is limited compute and memory bandwidth — models must be tailored, generic ones rarely run as-is.

2. Model surgery before code optimization

  • Input resolution: 640 down to 416 or 320, derived from the real pixel size of targets;
  • Operator substitution: unsupported ops (some activations, heavy post-processing) moved out or replaced with equivalent structures;
  • Channel pruning and width scaling: sensitivity-guided layer by layer;
  • Simplified heads: fewer anchors, merged branches, NMS moved to CPU post-processing.

3. Retraining for the field, not for the paper

  • Data: on-site capture plus hard-example mining;
  • Fine-tuning: freeze the backbone, train the head, then unfreeze gradually;
  • QAT: simulate INT8 quantization during training with a real calibration set;
  • Distillation: a larger teacher model protects accuracy in the small one.

4. Scheduling several models on one NPU

The NPU has a single inference queue. “Parallel” really means interleaving in time, with tiered rates:

ModelPurposeRate
Detectorpeople / vehiclesevery 3rd frame (heavy)
Classifierclass / attributesevery frame (light)
Keypointspose / orientationevery 5th frame

Weights stay resident, features are reused, and the schedule adapts to the frame budget. When the NPU is saturated, detection plus post-processing wins.

5. Post-processing that fills the gaps

  • Tracking: IoU or Kalman interpolation between detections;
  • Temporal smoothing: sliding-window voting for classification;
  • Business constraints: ROI, size and aspect-ratio filters, cross-object rules;
  • Graceful degradation: on NPU timeout, tracking alone keeps the output alive.

6. A reference budget

ItemReference
Input416×416 / 320×320
NPU time per framedetector 12–20 ms, classifier 2–4 ms
Target frame rate15–25 fps
Post-processing2–5 ms (CPU)
Engineering reference ranges; actual numbers depend on architecture, quantization and SoC configuration.
Need a model on an edge device?

Send the architecture, target SoC and frame-rate requirement — we can start with a compute and accuracy assessment.

Talk to us →
Product News
 Contact
Business QR Code
Copyright 2013-2025 © Foshan Goockr Technology Co., Ltd.
Legal Counsel: Guangdong Guangfa Law Firm