Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Abi
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# create env
conda create -n opensora python=3.10 -y
conda activate opensora

# get the repo
git clone https://github.com/hpcaitech/Open-Sora
cd Open-Sora

# install (PyTorch 2.4+ recommended)
pip install -v .
# install xformers for your CUDA version (example: CUDA 12.1)
pip install xformers==0.0.27.post2 --index-url https://download.pytorch.org/whl/cu121
# optional: speedup (if your GPU supports it)
pip install flash-attn --no-build-isolation