Manual Installation of EchoMimicV2
mainFollow these steps for a manual setup in a controlled environment (e.g., Conda).
System Requirements:
- OS: Centos 7.2 / Ubuntu 22.04
- CUDA: >= 11.7
- GPUs: A100(80G), RTX4090D(24G), or V100(16G)
- Python: 3.8, 3.10, or 3.11
Steps:
- Clone the repository:
git clone https://github.com/antgroup/echomimic_v2
cd echomimic_v2- Create and activate a Conda environment:
conda create -n echomimic python=3.10
conda activate echomimic- Install dependencies:
pip install pip -U
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 xformers==0.0.28.post3 --index-url https://download.pytorch.org/whl/cu124
pip install torchao --index-url https://download.pytorch.org/whl/nightly/cu124
pip install -r requirements.txt
pip install --no-deps facenet_pytorch==2.6.0- Configure ffmpeg-static: Download and decompress ffmpeg-static, then set the environment variable:
export FFMPEG_PATH=/path/to/ffmpeg-4.4-amd64-staticgit clone https://github.com/antgroup/echomimic_v2
cd echomimic_v2
conda create -n echomimic python=3.10
conda activate echomimic
pip install pip -U
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 xformers==0.0.28.post3 --index-url https://download.pytorch.org/whl/cu124
pip install torchao --index-url https://download.pytorch.org/whl/nightly/cu124
pip install -r requirements.txt
pip install --no-deps facenet_pytorch==2.6.0