wlsaidhi commited on
Commit
076b953
·
verified ·
1 Parent(s): cd8c735

[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
@@ -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 -e ".[fasth3]"
 
 
48
  ```
49
 
50
  ```bash
@@ -55,9 +63,10 @@ python examples/inference/basic/basic_fasth3.py \
55
  --repeats 1
56
  ```
57
 
58
- The script uses FastVideo's optimized four-GPU defaults and the trained
59
- four-forward schedule. On systems without the Blackwell kernels, add
60
- `--vsa-kernel triton --no-fa4`; adjust `--num-gpus` for your setup.
 
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