-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Gaurav14cs17 edited this page Jun 21, 2026
·
1 revision
- Python 3.8 or higher
- pip (latest version recommended)
- CUDA 11.8+ (for GPU acceleration, optional)
pip install flashoptimgit clone https://github.com/FlashVision/FlashOptim.git
cd FlashOptim
pip install -e .# ONNX export support
pip install flashoptim[export]
# Quantization extras
pip install flashoptim[quantization]
# Visualization and profiling
pip install flashoptim[analytics]
# All optional dependencies
pip install flashoptim[all]
# Development tools (testing, linting)
pip install flashoptim[dev]For a complete development setup:
bash setup_env.shThis will:
- Create a virtual environment
- Install all dependencies
- Set up pre-commit hooks
flashoptim version
flashoptim checkdocker build -t flashoptim -f docker/Dockerfile .
docker run --gpus all -it flashoptim --help- CUDA not found: Ensure NVIDIA drivers and CUDA toolkit are installed
-
Import errors: Try
pip install -e ".[all]"for all dependencies -
Permission denied: Use
pip install --useror a virtual environment
FlashOptim — Model optimization toolkit | PyPI | MIT License