V-JEPA-2 / README.md
qaihm-bot's picture
v0.67.0
5a03db3 verified
|
Raw History Blame Contribute Delete
5.72 kB
---
library_name: pytorch
license: mit
tags:
- backbone
- android
pipeline_tag: video-classification
---
![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/vjepa2/web-assets/model_demo.png)
# 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](https://github.com/facebookresearch/vjepa2).
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/vjepa2) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) 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](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/vjepa2/releases/v0.67.0/vjepa2-onnx-float.zip)
| QNN_DLC | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/vjepa2/releases/v0.67.0/vjepa2-qnn_dlc-float.zip)
For more device-specific assets and performance metrics, visit **[V-JEPA-2 on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/vjepa2)**.
### Option 2: Export with Custom Configurations
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/vjepa2) 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](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/vjepa2) 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](https://github.com/facebookresearch/vjepa2/blob/main/LICENSE).
## References
* [V-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planning](https://arxiv.org/abs/2506.09985)
* [Source Model Implementation](https://github.com/facebookresearch/vjepa2)
## Community
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).