Video Classification
PyTorch
backbone
android

Video-MAE: Optimized for Qualcomm Devices

Video MAE (Masked Auto Encoder) is a network for doing video classification that uses the ViT (Vision Transformer) backbone.

This is based on the implementation of Video-MAE 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 Video-MAE 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 Video-MAE on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.video_classification

Model Stats:

  • Input resolution: 224x224
  • Model checkpoint: Kinectics-400
  • Model size (float): 335 MB
  • Number of parameters: 87.7M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
Video-MAE ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 284.215 ms 0 - 904 MB NPU
Video-MAE ONNX float Snapdragon® 8 Elite For Galaxy Mobile 308.343 ms 0 - 700 MB NPU
Video-MAE ONNX float Snapdragon® X2 Elite 283.953 ms 9 - 9 MB NPU
Video-MAE ONNX float Snapdragon® X Elite 555.903 ms 188 - 188 MB NPU
Video-MAE ONNX float Snapdragon® 8 Gen 3 Mobile 402.734 ms 0 - 984 MB NPU
Video-MAE ONNX float Snapdragon® 8 Gen 1 Mobile 583.754 ms 10 - 885 MB NPU
Video-MAE ONNX float Qualcomm® Dragonwing™ IQ-8275 539.086 ms 9 - 22 MB NPU
Video-MAE ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 517.773 ms 0 - 216 MB NPU
Video-MAE ONNX float Qualcomm® QCS8450 583.754 ms 10 - 885 MB NPU
Video-MAE ONNX float Qualcomm® Dragonwing™ IQ-9075 554.708 ms 9 - 22 MB NPU
Video-MAE ONNX float Qualcomm® Dragonwing™ IQ-X7181 555.903 ms 188 - 188 MB NPU
Video-MAE ONNX float Qualcomm® Dragonwing™ Q-8750 308.343 ms 0 - 700 MB NPU
Video-MAE ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 294.793 ms 10 - 796 MB NPU
Video-MAE ONNX float Snapdragon® 8 Elite Gen 6 Mobile 385.701 ms 10 - 722 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 294.392 ms 14 - 1070 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 267.629 ms 0 - 1032 MB NPU
Video-MAE ONNX w8a16 Snapdragon® X2 Elite 287.471 ms 9 - 9 MB NPU
Video-MAE ONNX w8a16 Snapdragon® X Elite 482.901 ms 98 - 98 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 373.939 ms 5 - 1252 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 514.487 ms 5 - 1294 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 1204.773 ms 14 - 17 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 467.396 ms 14 - 18 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 478.245 ms 0 - 111 MB NPU
Video-MAE ONNX w8a16 Qualcomm® QCS8450 514.487 ms 5 - 1294 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 470.661 ms 14 - 17 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 482.901 ms 98 - 98 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 3103.593 ms 5 - 1678 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 602.454 ms 5 - 1208 MB NPU
Video-MAE ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 267.629 ms 0 - 1032 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 602.454 ms 5 - 1208 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 277.513 ms 5 - 1107 MB NPU
Video-MAE ONNX w8a16 Snapdragon® 8 Elite Gen 6 Mobile 453.938 ms 5 - 1125 MB NPU
Video-MAE QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 243.288 ms 0 - 732 MB NPU
Video-MAE QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 310.737 ms 0 - 709 MB NPU
Video-MAE QNN_DLC float Snapdragon® X2 Elite 237.459 ms 0 - 0 MB NPU
Video-MAE QNN_DLC float Snapdragon® X Elite 528.277 ms 0 - 0 MB NPU
Video-MAE QNN_DLC float Snapdragon® 8 Gen 3 Mobile 382.871 ms 10 - 850 MB NPU
Video-MAE QNN_DLC float Snapdragon® 8 Gen 1 Mobile 582.0 ms 0 - 898 MB NPU
Video-MAE QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 532.007 ms 0 - 3 MB NPU
Video-MAE QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 511.089 ms 0 - 2 MB NPU
Video-MAE QNN_DLC float Qualcomm® QCS8450 582.0 ms 0 - 898 MB NPU
Video-MAE QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 535.005 ms 2 - 4 MB NPU
Video-MAE QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 528.277 ms 0 - 0 MB NPU
Video-MAE QNN_DLC float Qualcomm® Dragonwing™ Q-8750 310.737 ms 0 - 709 MB NPU
Video-MAE QNN_DLC float Qualcomm® SA8295P 614.103 ms 0 - 607 MB NPU
Video-MAE QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 269.18 ms 0 - 720 MB NPU
Video-MAE QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 453.074 ms 0 - 712 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 286.879 ms 0 - 791 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 291.032 ms 0 - 792 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® X2 Elite 308.986 ms 14 - 14 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® X Elite 527.559 ms 14 - 14 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 502.403 ms 5 - 966 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 464.934 ms 9 - 17 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 515.546 ms 5 - 17 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® SA8650P 618.976 ms 1 - 751 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® SA8255P 618.976 ms 1 - 751 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 520.646 ms 11 - 18 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 527.559 ms 14 - 14 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 2717.407 ms 4 - 1352 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 619.929 ms 5 - 976 MB NPU
Video-MAE QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 291.032 ms 0 - 792 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 619.929 ms 5 - 976 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 290.88 ms 5 - 863 MB NPU
Video-MAE QNN_DLC w8a16 Snapdragon® 8 Elite Gen 6 Mobile 488.427 ms 5 - 868 MB NPU
Video-MAE TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 232.853 ms 0 - 597 MB NPU
Video-MAE TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 281.876 ms 0 - 584 MB NPU
Video-MAE TFLITE float Snapdragon® 8 Gen 3 Mobile 100.826 ms 0 - 1012 MB NPU
Video-MAE TFLITE float Snapdragon® 8 Gen 1 Mobile 547.942 ms 1 - 840 MB NPU
Video-MAE TFLITE float Qualcomm® Dragonwing™ IQ-8275 549.167 ms 0 - 207 MB NPU
Video-MAE TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 459.893 ms 0 - 3 MB NPU
Video-MAE TFLITE float Qualcomm® SA8650P 482.323 ms 0 - 569 MB NPU
Video-MAE TFLITE float Qualcomm® SA8255P 482.323 ms 0 - 569 MB NPU
Video-MAE TFLITE float Qualcomm® QCS8450 547.942 ms 1 - 840 MB NPU
Video-MAE TFLITE float Qualcomm® Dragonwing™ IQ-9075 490.991 ms 0 - 206 MB NPU
Video-MAE TFLITE float Qualcomm® Dragonwing™ Q-8750 281.876 ms 0 - 584 MB NPU
Video-MAE TFLITE float Qualcomm® SA7255P 1167.364 ms 1 - 568 MB NPU
Video-MAE TFLITE float Qualcomm® SA8295P 602.31 ms 0 - 546 MB NPU
Video-MAE TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 239.554 ms 0 - 591 MB NPU
Video-MAE TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 465.602 ms 0 - 601 MB NPU

License

  • The license for the original implementation of Video-MAE 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

Spaces using qualcomm/Video-MAE 2

Paper for qualcomm/Video-MAE