[docs] fix FastH3 installation instructions
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ license: other
|
|
| 3 |
license_name: minimax-h3-community
|
| 4 |
license_link: LICENSE
|
| 5 |
base_model: MiniMaxAI/MiniMax-H3
|
| 6 |
-
library_name:
|
| 7 |
pipeline_tag: text-to-video
|
| 8 |
tags:
|
| 9 |
- text-to-video
|
|
@@ -39,12 +39,20 @@ was trained with data-free DMD2 and VSA-H3 at 90% sparsity.
|
|
| 39 |
|
| 40 |
## Run with FastVideo
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
```bash
|
| 43 |
git clone https://github.com/hao-ai-lab/FastVideo.git
|
| 44 |
cd FastVideo
|
| 45 |
-
uv venv --python 3.12
|
| 46 |
source .venv/bin/activate
|
| 47 |
-
UV_TORCH_BACKEND=cu130 uv pip install
|
|
|
|
|
|
|
| 48 |
```
|
| 49 |
|
| 50 |
```bash
|
|
@@ -55,9 +63,10 @@ python examples/inference/basic/basic_fasth3.py \
|
|
| 55 |
--repeats 1
|
| 56 |
```
|
| 57 |
|
| 58 |
-
The
|
| 59 |
-
|
| 60 |
-
`--vsa-kernel triton --no-fa4`
|
|
|
|
| 61 |
|
| 62 |
## Scope
|
| 63 |
|
|
|
|
| 3 |
license_name: minimax-h3-community
|
| 4 |
license_link: LICENSE
|
| 5 |
base_model: MiniMaxAI/MiniMax-H3
|
| 6 |
+
library_name: fastvideo
|
| 7 |
pipeline_tag: text-to-video
|
| 8 |
tags:
|
| 9 |
- text-to-video
|
|
|
|
| 39 |
|
| 40 |
## Run with FastVideo
|
| 41 |
|
| 42 |
+
Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then use
|
| 43 |
+
the CUDA 13 / Blackwell path below. It selects FastVideo's published CUDA
|
| 44 |
+
kernel wheel instead of compiling the kernel locally. See the
|
| 45 |
+
[installation guide](https://hao-ai-lab.github.io/FastVideo/getting_started/installation/)
|
| 46 |
+
for other platforms.
|
| 47 |
+
|
| 48 |
```bash
|
| 49 |
git clone https://github.com/hao-ai-lab/FastVideo.git
|
| 50 |
cd FastVideo
|
| 51 |
+
uv venv --python 3.12 --seed
|
| 52 |
source .venv/bin/activate
|
| 53 |
+
UV_TORCH_BACKEND=cu130 uv pip install \
|
| 54 |
+
--no-sources-package fastvideo-kernel \
|
| 55 |
+
-e ".[fasth3]"
|
| 56 |
```
|
| 57 |
|
| 58 |
```bash
|
|
|
|
| 63 |
--repeats 1
|
| 64 |
```
|
| 65 |
|
| 66 |
+
The tested defaults use four B200 GPUs and the trained four-forward schedule.
|
| 67 |
+
On other multi-GPU CUDA systems, follow the installation guide and add
|
| 68 |
+
`--no-replicated-dit --vsa-kernel triton --no-fa4`. The GPU count must divide
|
| 69 |
+
H3's 56 attention heads.
|
| 70 |
|
| 71 |
## Scope
|
| 72 |
|