If you prefer using Docker, prebuilt images are available for both NVIDIA and AMD GPUs. These images include all required dependencies.
For NVIDIA GPUs:
docker run -it --gpus all --shm-size 256G --rm -v `pwd`:/workspace --workdir /workspace deeptimhe/ubuntu22.04-cuda12.1-python3.10-pytorch2.5:orig-vidtok bash
For AMD GPUs:
docker run -it --gpus all --shm-size 256G --rm -v `pwd`:/workspace --workdir /workspace deeptimhe/ubuntu22.04-rocm6.2.4-python3.10-pytorch2.5:orig-vidtok bash
# NVIDIA GPUs
docker run -it --gpus all --shm-size 256G --rm -v `pwd`:/workspace --workdir /workspace \
deeptimhe/ubuntu22.04-cuda12.1-python3.10-pytorch2.5:orig-vidtok bash
# AMD GPUs
docker run -it --gpus all --shm-size 256G --rm -v `pwd`:/workspace --workdir /workspace \
deeptimhe/ubuntu22.04-rocm6.2.4-python3.10-pytorch2.5:orig-vidtok bash