ConvNextV2-Base / README.md
qaihm-bot's picture
v0.67.0
c7087c3 verified
|
Raw History Blame Contribute Delete
10.5 kB
metadata
library_name: pytorch
license: apache-2.0
tags:
  - backbone
  - bu_auto
  - android
pipeline_tag: image-classification

ConvNextV2-Base: Optimized for Qualcomm Devices

ConvNextV2Base is a machine learning model that can classify images from the Imagenet dataset. It can also be used as a backbone in building more complex models for specific use cases.

This is based on the implementation of ConvNextV2-Base found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.

Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.

Getting Started

There are two ways to deploy this model on your device:

Option 1: Download Pre-Exported Models

Below are pre-exported model assets ready for deployment.

Runtime Precision Chipset SDK Versions Download
ONNX float Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
ONNX w8a16 Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
QNN_DLC float Universal QAIRT 2.51 Download
QNN_DLC w8a16 Universal QAIRT 2.51 Download
TFLITE float Universal QAIRT 2.51 Download

For more device-specific assets and performance metrics, visit ConvNextV2-Base on Qualcomm® AI Hub.

Option 2: Export with Custom Configurations

Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:

  • Custom weights (e.g., fine-tuned checkpoints)
  • Custom input shapes
  • Target device and runtime configurations

This option is ideal if you need to customize the model beyond the default configuration provided here.

See our repository for ConvNextV2-Base on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.image_classification

Model Stats:

  • Input resolution: 224x224
  • Model checkpoint: Imagenet
  • Model size (float): 339 MB
  • Model size (w8a16): 91.7 MB
  • Number of parameters: 88.7M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
ConvNextV2-Base ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 7.446 ms 0 - 377 MB NPU
ConvNextV2-Base ONNX float Snapdragon® 8 Elite For Galaxy Mobile 11.904 ms 0 - 372 MB NPU
ConvNextV2-Base ONNX float Snapdragon® X2 Elite 7.879 ms 2 - 2 MB NPU
ConvNextV2-Base ONNX float Snapdragon® X Elite 17.76 ms 182 - 182 MB NPU
ConvNextV2-Base ONNX float Snapdragon® 8 Gen 3 Mobile 13.038 ms 0 - 552 MB NPU
ConvNextV2-Base ONNX float Snapdragon® 8 Gen 1 Mobile 28.619 ms 1 - 359 MB NPU
ConvNextV2-Base ONNX float Qualcomm® Dragonwing™ IQ-8275 21.312 ms 0 - 5 MB NPU
ConvNextV2-Base ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 17.629 ms 0 - 195 MB NPU
ConvNextV2-Base ONNX float Qualcomm® QCS8450 28.619 ms 1 - 359 MB NPU
ConvNextV2-Base ONNX float Qualcomm® Dragonwing™ IQ-9075 20.666 ms 1 - 5 MB NPU
ConvNextV2-Base ONNX float Qualcomm® Dragonwing™ IQ-X7181 17.76 ms 182 - 182 MB NPU
ConvNextV2-Base ONNX float Qualcomm® Dragonwing™ Q-8750 11.904 ms 0 - 372 MB NPU
ConvNextV2-Base ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.101 ms 1 - 378 MB NPU
ConvNextV2-Base ONNX float Snapdragon® 8 Elite Gen 6 Mobile 8.505 ms 0 - 386 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 5.641 ms 0 - 287 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 9.594 ms 0 - 262 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® X2 Elite 6.038 ms 1 - 1 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® X Elite 14.299 ms 91 - 91 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 9.801 ms 0 - 336 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 17.416 ms 0 - 332 MB NPU
ConvNextV2-Base ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 13.355 ms 0 - 5 MB NPU
ConvNextV2-Base ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 13.513 ms 0 - 98 MB NPU
ConvNextV2-Base ONNX w8a16 Qualcomm® QCS8450 17.416 ms 0 - 332 MB NPU
ConvNextV2-Base ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 14.39 ms 0 - 4 MB NPU
ConvNextV2-Base ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 14.299 ms 91 - 91 MB NPU
ConvNextV2-Base ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 9.594 ms 0 - 262 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 4.601 ms 0 - 279 MB NPU
ConvNextV2-Base ONNX w8a16 Snapdragon® 8 Elite Gen 6 Mobile 6.302 ms 0 - 244 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 7.508 ms 0 - 369 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 12.201 ms 1 - 365 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® X2 Elite 8.773 ms 1 - 1 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® X Elite 18.354 ms 1 - 1 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® 8 Gen 3 Mobile 13.285 ms 1 - 543 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® 8 Gen 1 Mobile 29.039 ms 0 - 343 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 20.876 ms 1 - 4 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 18.014 ms 1 - 3 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® SA8775P 21.459 ms 1 - 398 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® SA8650P 21.459 ms 1 - 398 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® SA8255P 21.459 ms 1 - 398 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® QCS8450 29.039 ms 0 - 343 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 21.494 ms 1 - 4 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 18.354 ms 1 - 1 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® Dragonwing™ Q-8750 12.201 ms 1 - 365 MB NPU
ConvNextV2-Base QNN_DLC float Qualcomm® SA8295P 30.442 ms 1 - 209 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.064 ms 1 - 370 MB NPU
ConvNextV2-Base QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 8.673 ms 1 - 378 MB NPU
ConvNextV2-Base TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 5.354 ms 0 - 326 MB NPU
ConvNextV2-Base TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 7.987 ms 0 - 300 MB NPU
ConvNextV2-Base TFLITE float Snapdragon® 8 Gen 3 Mobile 8.229 ms 0 - 453 MB NPU
ConvNextV2-Base TFLITE float Snapdragon® 8 Gen 1 Mobile 25.946 ms 0 - 363 MB NPU
ConvNextV2-Base TFLITE float Qualcomm® Dragonwing™ IQ-8275 15.852 ms 0 - 180 MB NPU
ConvNextV2-Base TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 11.547 ms 0 - 3 MB NPU
ConvNextV2-Base TFLITE float Qualcomm® SA8775P 85.204 ms 0 - 28 MB GPU
ConvNextV2-Base TFLITE float Qualcomm® SA8650P 85.204 ms 0 - 28 MB GPU
ConvNextV2-Base TFLITE float Qualcomm® SA8255P 85.204 ms 0 - 28 MB GPU
ConvNextV2-Base TFLITE float Qualcomm® QCS8450 25.946 ms 0 - 363 MB NPU
ConvNextV2-Base TFLITE float Qualcomm® Dragonwing™ IQ-9075 15.7 ms 0 - 180 MB NPU
ConvNextV2-Base TFLITE float Qualcomm® Dragonwing™ Q-8750 7.987 ms 0 - 300 MB NPU
ConvNextV2-Base TFLITE float Qualcomm® SA7255P 189.967 ms 0 - 28 MB GPU
ConvNextV2-Base TFLITE float Qualcomm® SA8295P 26.336 ms 0 - 223 MB NPU
ConvNextV2-Base TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 4.675 ms 0 - 309 MB NPU
ConvNextV2-Base TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 5.237 ms 0 - 306 MB NPU

License

  • The license for the original implementation of ConvNextV2-Base can be found here.

References

Community