Object Detection
PyTorch
foundation
android

OWL-ViT: Optimized for Qualcomm Devices

OWL-ViT (Open-World Localization with Vision Transformers) is an open-vocabulary object detector that uses a CLIP-based ViT-B/32 backbone. Given an image and one or more free-form text queries, the model predicts bounding boxes and confidence scores for each query.

This is based on the implementation of OWL-ViT 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.50, ONNX Runtime 1.30.0 Download
ONNX w8a16 Universal QAIRT 2.50, ONNX Runtime 1.27.1 Download
QNN_DLC float Universal QAIRT 2.50 Download
QNN_DLC w8a16 Universal QAIRT 2.50 Download
TFLITE float Universal QAIRT 2.50 Download

For more device-specific assets and performance metrics, visit OWL-ViT 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 OWL-ViT on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.object_detection

Model Stats:

  • Input image resolution: 768x768
  • Model checkpoint: google/owlvit-base-patch32
  • Model size (float): 613 MB
  • Number of parameters: 153M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
OWL-ViT ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 20.629 ms 3 - 485 MB NPU
OWL-ViT ONNX float Snapdragon® 8 Elite For Galaxy Mobile 26.03 ms 2 - 478 MB NPU
OWL-ViT ONNX float Snapdragon® X2 Elite 19.105 ms 8 - 8 MB NPU
OWL-ViT ONNX float Snapdragon® X Elite 44.41 ms 295 - 295 MB NPU
OWL-ViT ONNX float Snapdragon® 8 Gen 3 Mobile 33.513 ms 3 - 692 MB NPU
OWL-ViT ONNX float Snapdragon® 8 Gen 1 Mobile 55.882 ms 2 - 676 MB NPU
OWL-ViT ONNX float Qualcomm® Dragonwing™ IQ-8275 53.285 ms 7 - 18 MB NPU
OWL-ViT ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 44.529 ms 0 - 316 MB NPU
OWL-ViT ONNX float Qualcomm® QCS8450 55.882 ms 2 - 676 MB NPU
OWL-ViT ONNX float Qualcomm® Dragonwing™ IQ-9075 51.137 ms 6 - 16 MB NPU
OWL-ViT ONNX float Qualcomm® Dragonwing™ IQ-X7181 44.41 ms 295 - 295 MB NPU
OWL-ViT ONNX float Qualcomm® Dragonwing™ Q-8750 26.03 ms 2 - 478 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 7.541 ms 1 - 576 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 10.809 ms 1 - 560 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® X2 Elite 8.263 ms 3 - 3 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® X Elite 21.342 ms 174 - 174 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 14.727 ms 4 - 725 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 25.699 ms 0 - 726 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 84.949 ms 3 - 9 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 19.894 ms 1 - 8 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 20.74 ms 0 - 192 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® QCS8450 25.699 ms 0 - 726 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 20.865 ms 0 - 7 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 21.342 ms 174 - 174 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 219.274 ms 6 - 792 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 34.032 ms 6 - 594 MB NPU
OWL-ViT ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 10.809 ms 1 - 560 MB NPU
OWL-ViT ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 34.032 ms 6 - 594 MB NPU
OWL-ViT QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 19.807 ms 7 - 444 MB NPU
OWL-ViT QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 25.537 ms 5 - 441 MB NPU
OWL-ViT QNN_DLC float Snapdragon® X2 Elite 19.282 ms 7 - 7 MB NPU
OWL-ViT QNN_DLC float Snapdragon® X Elite 43.139 ms 7 - 7 MB NPU
OWL-ViT QNN_DLC float Snapdragon® 8 Gen 3 Mobile 32.01 ms 7 - 615 MB NPU
OWL-ViT QNN_DLC float Snapdragon® 8 Gen 1 Mobile 54.52 ms 7 - 591 MB NPU
OWL-ViT QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 52.08 ms 7 - 16 MB NPU
OWL-ViT QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 42.869 ms 0 - 577 MB NPU
OWL-ViT QNN_DLC float Qualcomm® SA8775P 49.16 ms 1 - 428 MB NPU
OWL-ViT QNN_DLC float Qualcomm® SA8650P 49.16 ms 1 - 428 MB NPU
OWL-ViT QNN_DLC float Qualcomm® SA8255P 49.16 ms 1 - 428 MB NPU
OWL-ViT QNN_DLC float Qualcomm® QCS8450 54.52 ms 7 - 591 MB NPU
OWL-ViT QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 49.005 ms 9 - 18 MB NPU
OWL-ViT QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 43.139 ms 7 - 7 MB NPU
OWL-ViT QNN_DLC float Qualcomm® Dragonwing™ Q-8750 25.537 ms 5 - 441 MB NPU
OWL-ViT QNN_DLC float Qualcomm® SA8295P 53.656 ms 0 - 407 MB NPU
OWL-ViT QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 8.737 ms 3 - 525 MB NPU
OWL-ViT QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 11.535 ms 3 - 504 MB NPU
OWL-ViT QNN_DLC w8a16 Snapdragon® X2 Elite 9.559 ms 3 - 3 MB NPU
OWL-ViT QNN_DLC w8a16 Snapdragon® X Elite 23.241 ms 3 - 3 MB NPU
OWL-ViT QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 15.718 ms 3 - 663 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 21.195 ms 3 - 10 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 22.447 ms 4 - 7 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® SA8650P 95.803 ms 0 - 747 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® SA8255P 95.803 ms 0 - 747 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 22.099 ms 5 - 11 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 23.241 ms 3 - 3 MB NPU
OWL-ViT QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 11.535 ms 3 - 504 MB NPU
OWL-ViT TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 11.732 ms 0 - 445 MB NPU
OWL-ViT TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 17.129 ms 0 - 446 MB NPU
OWL-ViT TFLITE float Snapdragon® 8 Gen 3 Mobile 22.271 ms 0 - 601 MB NPU
OWL-ViT TFLITE float Snapdragon® 8 Gen 1 Mobile 39.928 ms 0 - 582 MB NPU
OWL-ViT TFLITE float Qualcomm® Dragonwing™ IQ-8275 39.766 ms 0 - 311 MB NPU
OWL-ViT TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 31.113 ms 0 - 3 MB NPU
OWL-ViT TFLITE float Qualcomm® SA8775P 37.339 ms 0 - 431 MB NPU
OWL-ViT TFLITE float Qualcomm® SA8650P 37.339 ms 0 - 431 MB NPU
OWL-ViT TFLITE float Qualcomm® SA8255P 37.339 ms 0 - 431 MB NPU
OWL-ViT TFLITE float Qualcomm® QCS8450 39.928 ms 0 - 582 MB NPU
OWL-ViT TFLITE float Qualcomm® Dragonwing™ IQ-9075 37.574 ms 0 - 310 MB NPU
OWL-ViT TFLITE float Qualcomm® Dragonwing™ Q-8750 17.129 ms 0 - 446 MB NPU
OWL-ViT TFLITE float Qualcomm® SA8295P 41.852 ms 0 - 409 MB NPU

License

  • The license for the original implementation of OWL-ViT can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/OWL-ViT