Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

Update README.md (#157)

fuchen.ljl6d430b5ed1dc
diff --git a/README.md b/README.md
index 4e4d8e7..3a29a36 100644
--- a/README.md
+++ b/README.md
@@ -94,13 +94,13 @@ Videos are downsampled to `.gif` for display. Click for original videos. Prompts
```bash
# create a virtual env
conda create -n opensora python=3.10
-# activate opensora
+# activate virtual environment
conda activate opensora
# install torch
# the command below is for CUDA 12.1, choose install commands from
# https://pytorch.org/get-started/locally/ based on your own CUDA version
-pip3 install torch torchvision
+pip install torch torchvision
# install flash attention (optional)
pip install packaging ninja
@@ -110,7 +110,7 @@ pip install flash-attn --no-build-isolation
pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex.git
# install xformers
-pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu121
+pip install -U xformers --index-url https://download.pytorch.org/whl/cu121
# install this project
git clone https://github.com/hpcaitech/Open-Sora