V-JEPA-2 / README.md
qaihm-bot's picture
v0.67.0
5a03db3 verified
|
Raw History Blame Contribute Delete
5.72 kB
metadata
library_name: pytorch
license: mit
tags:
  - backbone
  - android
pipeline_tag: video-classification

V-JEPA-2: Optimized for Qualcomm Devices

V-JEPA 2 (Video Joint-Embedding Predictive Architecture 2) is a self-supervised video encoder from Meta AI that uses a ViT (Vision Transformer) backbone to produce per-token video embeddings. It is used as a frozen backbone for downstream video understanding tasks such as action recognition and video retrieval.

This is based on the implementation of V-JEPA-2 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
QNN_DLC float Universal QAIRT 2.51 Download

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

Model Details

Model Type: Model_use_case.video_classification

Model Stats:

  • Input resolution: 256x256
  • Model checkpoint: facebook/vjepa2-vitl-fpc64-256
  • Model size (float): 1.13 GB
  • Model size (w8a16): 304 MB
  • Number of frames: 8
  • Number of parameters: 304M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
V-JEPA-2 ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 187.645 ms 8 - 2813 MB NPU
V-JEPA-2 ONNX float Snapdragon® 8 Elite For Galaxy Mobile 258.4 ms 9 - 2593 MB NPU
V-JEPA-2 ONNX float Snapdragon® X2 Elite 183.955 ms 7 - 7 MB NPU
V-JEPA-2 ONNX float Snapdragon® X Elite 427.158 ms 602 - 602 MB NPU
V-JEPA-2 ONNX float Qualcomm® Dragonwing™ IQ-8275 458.395 ms 6 - 16 MB NPU
V-JEPA-2 ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 423.052 ms 0 - 637 MB NPU
V-JEPA-2 ONNX float Qualcomm® Dragonwing™ IQ-9075 462.033 ms 6 - 16 MB NPU
V-JEPA-2 ONNX float Qualcomm® Dragonwing™ IQ-X7181 427.158 ms 602 - 602 MB NPU
V-JEPA-2 ONNX float Qualcomm® Dragonwing™ Q-8750 258.4 ms 9 - 2593 MB NPU
V-JEPA-2 QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 173.999 ms 0 - 2892 MB NPU
V-JEPA-2 QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 220.619 ms 0 - 2801 MB NPU
V-JEPA-2 QNN_DLC float Snapdragon® X2 Elite 167.593 ms 6 - 6 MB NPU
V-JEPA-2 QNN_DLC float Snapdragon® X Elite 396.284 ms 6 - 6 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 429.096 ms 6 - 19 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 391.137 ms 6 - 10 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® QCS8450 584.698 ms 6 - 3557 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 426.316 ms 6 - 19 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 396.284 ms 6 - 6 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® Dragonwing™ Q-8750 220.619 ms 0 - 2801 MB NPU
V-JEPA-2 QNN_DLC float Qualcomm® SA8295P 531.548 ms 0 - 2746 MB NPU
V-JEPA-2 QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 226.676 ms 6 - 2889 MB NPU

License

  • The license for the original implementation of V-JEPA-2 can be found here.

References

Community