System Requirements
Before installing QualiVision, ensure your system meets these requirements:Python Version
Python 3.8 or higher requiredVerify:
python --versionGPU Support
CUDA-capable GPU recommended
- DOVER++: ~12GB VRAM
- V-JEPA2: ~16GB VRAM
Storage
~10GB for models and dependenciesAdditional space for datasets
Operating System
Linux, macOS, or WindowsLinux recommended for best performance
Installation Methods
Clone the Repository
First, clone the QualiVision repository from GitHub:This will download the complete framework including:
- Model implementations
- Training and evaluation scripts
- Configuration files
- Example notebooks
Install Dependencies
- Standard Installation
- Virtual Environment
- Conda Environment
Install all dependencies using pip:This is the recommended method for most users.
Dependencies
QualiVision requires the following core dependencies:Deep Learning Frameworks
Deep Learning Frameworks
Transformers & NLP
Transformers & NLP
Computer Vision
Computer Vision
Scientific Computing
Scientific Computing
Performance Optimization
Performance Optimization
Utilities & Visualization
Utilities & Visualization
Development Tools
Development Tools
Complete requirements.txt
Complete requirements.txt
From
requirements.txt in the source repository:GPU Setup
- CUDA (NVIDIA)
- ROCm (AMD)
- MPS (Apple Silicon)
For NVIDIA GPUs, ensure CUDA is properly installed:
Install PyTorch with CUDA
Visit PyTorch Get Started and select your CUDA version:
Troubleshooting
CUDA Out of Memory
CUDA Out of Memory
If you encounter OOM errors:
-
Reduce batch size:
- Use gradient checkpointing (for training)
- Close other GPU applications
-
Use CPU if necessary:
Flash Attention Installation Issues
Flash Attention Installation Issues
If
flash-attn fails to install:-
Skip flash attention (optional dependency):
-
Or install from source:
- Flash attention is optional for inference, mainly benefits training speed
Decord Video Loading Errors
Decord Video Loading Errors
If video loading fails:
-
Ensure FFmpeg is installed:
-
Test decord:
Transformers Model Download Issues
Transformers Model Download Issues
If model downloads are slow or fail:
-
Use Hugging Face mirror (China):
-
Pre-download models:
-
Set cache directory:
Verify Installation
Run this comprehensive verification script:check_install.py and run:
Next Steps
Quick Start
Run your first evaluation with pre-trained models
Data Preparation
Learn how to structure your dataset
Model Configuration
Customize model settings for your use case
Training Guide
Fine-tune models on custom datasets
Getting Help: If you encounter issues not covered here, please:
- Check the GitHub Issues
- Review the example notebooks in
notebooks/ - See the memory optimization guide for common GPU issues