Update README.md (#473)

first git clone the repo then pip install requirements
This commit is contained in:
Joezhao 2024-06-19 17:59:48 +08:00 committed by GitHub
parent 7c9a33b7a3
commit 270d1ca495

View file

@ -174,13 +174,13 @@ For CUDA 12.1, you can install the dependencies with the following commands. Oth
conda create -n opensora python=3.9
conda activate opensora
# install torch, torchvision and xformers
pip install -r requirements/requirements-cu121.txt
# download the repo
git clone https://github.com/hpcaitech/Open-Sora
cd Open-Sora
# install torch, torchvision and xformers
pip install -r requirements/requirements-cu121.txt
# the default installation is for inference only
pip install -v . # for development mode, `pip install -v -e .`
```