[docs] fix FastH3 installation instructions
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ license: other
|
|
| 3 |
license_name: minimax-h3-community
|
| 4 |
license_link: LICENSE
|
| 5 |
base_model: MiniMaxAI/MiniMax-H3
|
|
|
|
| 6 |
tags:
|
| 7 |
- video-generation
|
| 8 |
- text-to-audio-video
|
|
@@ -36,12 +37,20 @@ one four-forward FastH3 transformer from the MiniMax H3 base model.
|
|
| 36 |
|
| 37 |
## Run the recommended adapter
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
```bash
|
| 40 |
git clone https://github.com/hao-ai-lab/FastVideo.git
|
| 41 |
cd FastVideo
|
| 42 |
-
uv venv --python 3.12
|
| 43 |
source .venv/bin/activate
|
| 44 |
-
UV_TORCH_BACKEND=cu130 uv pip install
|
|
|
|
|
|
|
| 45 |
```
|
| 46 |
|
| 47 |
```bash
|
|
@@ -52,7 +61,10 @@ bash examples/inference/basic/run_fasth3_lora_preview_vsa_datafree.sh \
|
|
| 52 |
```
|
| 53 |
|
| 54 |
Set `FASTH3_LORA_STRENGTH` to change the adapter strength from its default of
|
| 55 |
-
`1.0`.
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
## Variants
|
| 58 |
|
|
|
|
| 3 |
license_name: minimax-h3-community
|
| 4 |
license_link: LICENSE
|
| 5 |
base_model: MiniMaxAI/MiniMax-H3
|
| 6 |
+
library_name: fastvideo
|
| 7 |
tags:
|
| 8 |
- video-generation
|
| 9 |
- text-to-audio-video
|
|
|
|
| 37 |
|
| 38 |
## Run the recommended adapter
|
| 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
|
|
|
|
| 61 |
```
|
| 62 |
|
| 63 |
Set `FASTH3_LORA_STRENGTH` to change the adapter strength from its default of
|
| 64 |
+
`1.0`. The tested defaults use four B200 GPUs. On other multi-GPU CUDA
|
| 65 |
+
systems, follow the installation guide and add
|
| 66 |
+
`--no-replicated-dit --vsa-kernel triton --no-fa4` to a VSA launcher. The GPU
|
| 67 |
+
count must divide H3's 56 attention heads.
|
| 68 |
|
| 69 |
## Variants
|
| 70 |
|