- NVIDIA GPUs with Ampere architecture (RTX 30 Series, A100) or newer
- NVIDIA driver >=570.124.06 compatible with CUDA 12.8.1
- Linux x86-64
- glibc>=2.31 (e.g Ubuntu >=22.04)
- Python 3.10
Clone the repository:
git clone git@github.com:nvidia-cosmos/cosmos-transfer2.5.git
cd cosmos-transfer2.5Install system dependencies:
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/envInstall the package into a new environment:
uv sync
source .venv/bin/activateOr, install the package into the active environment (e.g. conda):
uv sync --active --inexact- Get a Hugging Face Access Token with
Readpermission - Install Hugging Face CLI:
uv tool install -U "huggingface_hub[cli]" - Login:
hf auth login - Accept the NVIDIA Open Model License Agreement.
Checkpoints are automatically downloaded during inference and post-training. To modify the checkpoint cache location, set the HF_HOME environment variable.
Please make sure you have access to Docker on your machine and the NVIDIA Container Toolkit is installed. To avoid running out of file descriptors when building the container, increase the limit with --ulimit nofile as in the example below.
Example build command:
docker build --ulimit nofile=131071:131071 -f Dockerfile . -t cosmos-transfer-2.5Example run command:
docker run --gpus all --rm -v .:/workspace -v /workspace/.venv -it cosmos-transfer-2.5