Installation¶
Install CUVIS.AI and its dependencies.
Requirements¶
- Python: 3.10+ (tested up to 3.13; 3.11 recommended)
- RAM: 8GB minimum (16GB recommended; 32GB for large datasets)
- OS: Windows / Linux / macOS
- GPU (optional): NVIDIA + CUDA 12.8 for faster training
- Storage: ~2GB for deps (+ space for datasets/outputs)
Install with uv (recommended)¶
- Install uv:
# Linux/macOS
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
- Clone and install (all extras):
FFmpeg (required for video pipelines)¶
Video nodes (VideoIterator, VideoFrameDataModule, ToVideoNode) depend on
torchcodec which requires FFmpeg
system libraries at runtime. Install FFmpeg before using any video functionality:
# Linux (apt)
sudo apt install ffmpeg
# Linux (conda)
conda install -c conda-forge ffmpeg
# macOS
brew install ffmpeg
# Windows (scoop) — use the *shared* build so torchcodec can find the DLLs
scoop install ffmpeg-shared
# Then add to PATH (Git Bash / MSYS2):
export PATH="/c/Users/$USER/scoop/apps/ffmpeg-shared/current/bin:$PATH"
GPU support (optional)¶
Check CUDA availability:
Verify¶
Run tests:
Skip GPU tests (CPU-only):
Or quick import:
from cuvis_ai_core.pipeline.graph import Graph
from cuvis_ai_core.anomaly.rx_detector import RXGlobal
print("Installation successful!")