Skip to content
Open
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ The model is accessible right away via the following links:
### Installation
The codebase was tested with Python 3.10.5, CUDA version 12.2, and supports PyTorch >= 2.1.2.
On macOS, MPS was tested with PyTorch 2.3.0, and should support PyTorch == 2.3 or >= 2.6.
(**For AMD Instinct/ROCm, see the section below.**)

```bash
git clone https://github.com/Lightricks/LTX-Video.git
Expand All @@ -188,6 +189,22 @@ source env/bin/activate
python -m pip install -e .\[inference\]
```

#### Installation for AMD Instinct GPUs
Tested on Python 3.11 with PyTorch 2.8.0 (ROCm 6.4) on Linux x86_64. To install on AMD Instinct GPUs, run:

```bash
git clone https://github.com/Lightricks/LTX-Video.git
cd LTX-Video

# create env
python -m venv env
source env/bin/activate
pip install -e .[inference] \
-c constraints/rocm6.4.txt \
--index-url https://download.pytorch.org/whl/rocm6.4 \
--extra-index-url https://pypi.org/simple
```

#### FP8 Kernels (optional)

[FP8 kernels](https://github.com/Lightricks/LTXVideo-Q8-Kernels) developed for LTX-Video provide performance boost on supported graphics cards (Ada architecture and later). To install FP8 kernels, follow the instructions in that repository.
Expand Down
2 changes: 2 additions & 0 deletions constraints/rocm6.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
torch==2.8.0+rocm6.4
torchvision==0.23.0+rocm6.4