Installation¶
Requirements¶
- Python 3.11 or higher
- PyTorch 2.5 or higher (with CUDA support)
- CUDA-capable GPU
Python 3.14 requires PyTorch 2.10 or higher.
Shared memory (SHM) is not supported on Windows. The posix-ipc dependency is
skipped on Windows; keep shm_enabled=False (the default) and do not use
SharedOffloadSession there.
Install from Package¶
FlexTensor is available on PyPI. Use the following command to install:
Install from Source¶
Clone the repository and install with:
Development Installation¶
For development, install with all dependency groups:
This requires uv 0.6.7 or newer. If you use pip directly instead, use pip
25.1 or newer for pip install --group.
This includes:
- Testing tools (pytest, pytest-cov)
- Pre-commit hooks
- Documentation generation tools (mkdocs, mike)