wlsaidhi commited on
Commit
d47550d
·
verified ·
1 Parent(s): ff589c8

[docs] fix FastH3 installation instructions

Browse files
Files changed (1) hide show
  1. README.md +15 -6
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: diffusers
7
  pipeline_tag: text-to-video
8
  tags:
9
  - text-to-video
@@ -40,12 +40,20 @@ sparsity.
40
 
41
  ## Run with FastVideo
42
 
 
 
 
 
 
 
43
  ```bash
44
  git clone https://github.com/hao-ai-lab/FastVideo.git
45
  cd FastVideo
46
- uv venv --python 3.12
47
  source .venv/bin/activate
48
- UV_TORCH_BACKEND=cu130 uv pip install -e ".[fasth3]"
 
 
49
  ```
50
 
51
  ```bash
@@ -56,9 +64,10 @@ python examples/inference/basic/basic_fasth3.py \
56
  --repeats 1
57
  ```
58
 
59
- The script uses FastVideo's optimized four-GPU defaults and the trained
60
- four-forward schedule. On systems without the Blackwell kernels, add
61
- `--vsa-kernel triton --no-fa4`; adjust `--num-gpus` for your setup.
 
62
 
63
  ## Scope
64
 
 
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
 
40
 
41
  ## Run with FastVideo
42
 
43
+ Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then use
44
+ the CUDA 13 / Blackwell path below. It selects FastVideo's published CUDA
45
+ kernel wheel instead of compiling the kernel locally. See the
46
+ [installation guide](https://hao-ai-lab.github.io/FastVideo/getting_started/installation/)
47
+ for other platforms.
48
+
49
  ```bash
50
  git clone https://github.com/hao-ai-lab/FastVideo.git
51
  cd FastVideo
52
+ uv venv --python 3.12 --seed
53
  source .venv/bin/activate
54
+ UV_TORCH_BACKEND=cu130 uv pip install \
55
+ --no-sources-package fastvideo-kernel \
56
+ -e ".[fasth3]"
57
  ```
58
 
59
  ```bash
 
64
  --repeats 1
65
  ```
66
 
67
+ The tested defaults use four B200 GPUs and the trained four-forward schedule.
68
+ On other multi-GPU CUDA systems, follow the installation guide and add
69
+ `--no-replicated-dit --vsa-kernel triton --no-fa4`. The GPU count must divide
70
+ H3's 56 attention heads.
71
 
72
  ## Scope
73