[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
|
|
@@ -37,24 +37,33 @@ was trained with data-free DMD2.
|
|
| 37 |
|
| 38 |
## Run with FastVideo
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
```bash
|
| 41 |
git clone https://github.com/hao-ai-lab/FastVideo.git
|
| 42 |
cd FastVideo
|
| 43 |
-
uv venv --python 3.12
|
| 44 |
source .venv/bin/activate
|
| 45 |
-
UV_TORCH_BACKEND=cu130 uv pip install
|
|
|
|
|
|
|
| 46 |
```
|
| 47 |
|
| 48 |
```bash
|
| 49 |
-
FASTVIDEO_ATTENTION_BACKEND=FLASH_ATTN \
|
| 50 |
python examples/inference/basic/basic_minimax_h3_t2v.py \
|
| 51 |
--model-path FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree \
|
| 52 |
--prompt "your prompt" \
|
| 53 |
--steps 5
|
| 54 |
```
|
| 55 |
|
| 56 |
-
Five scheduler points execute the trained four transformer forwards.
|
| 57 |
-
|
|
|
|
| 58 |
|
| 59 |
## Scope
|
| 60 |
|
|
|
|
| 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
|
|
|
|
| 37 |
|
| 38 |
## Run with FastVideo
|
| 39 |
|
| 40 |
+
Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then use
|
| 41 |
+
the CUDA 13 / Blackwell path below. It selects FastVideo's published CUDA
|
| 42 |
+
kernel wheel instead of compiling the kernel locally. See the
|
| 43 |
+
[installation guide](https://hao-ai-lab.github.io/FastVideo/getting_started/installation/)
|
| 44 |
+
for other platforms.
|
| 45 |
+
|
| 46 |
```bash
|
| 47 |
git clone https://github.com/hao-ai-lab/FastVideo.git
|
| 48 |
cd FastVideo
|
| 49 |
+
uv venv --python 3.12 --seed
|
| 50 |
source .venv/bin/activate
|
| 51 |
+
UV_TORCH_BACKEND=cu130 uv pip install \
|
| 52 |
+
--no-sources-package fastvideo-kernel \
|
| 53 |
+
-e ".[fasth3]"
|
| 54 |
```
|
| 55 |
|
| 56 |
```bash
|
| 57 |
+
FASTVIDEO_ATTENTION_BACKEND=FLASH_ATTN FASTVIDEO_FA4=1 \
|
| 58 |
python examples/inference/basic/basic_minimax_h3_t2v.py \
|
| 59 |
--model-path FastVideo/FastVideo-FastH3-4-step-Preview-v1-Dense-DataFree \
|
| 60 |
--prompt "your prompt" \
|
| 61 |
--steps 5
|
| 62 |
```
|
| 63 |
|
| 64 |
+
Five scheduler points execute the trained four transformer forwards. The
|
| 65 |
+
default uses four GPUs; other supported GPU counts must divide H3's 56
|
| 66 |
+
attention heads.
|
| 67 |
|
| 68 |
## Scope
|
| 69 |
|