Video Rebirth 推出 HyperFlow H3 Flash,將 MiniMax-H3 壓縮至 13.7B/13.9B 引數
Show HN: We compressed a 31B video+audio diffusion model to 14B, 6 steps, INT8
Video Rebirth 推出 HyperFlow H3 Flash,將約 31B 引數的 MiniMax-H3 精簡為 13.7B 或 13.9B 引數版本,可用 4、6 或 8 步生成影片與同步立體聲音訊。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
HyperFlow H3 Flash 將剪枝、低秩分解與 INT8 量化用於影片及音訊生成,並列出不同 GPU 的端到端耗時,便於比較模型精簡幅度與執行成本。
HyperFlow H3 Flash 是 Video Rebirth 的精簡少步數版本,基於 MiniMax-H3。它會同步生成影片與立體聲音訊。
展示 · 權重(Hugging Face) · ComfyUI 節點 · GGUF 設定指南 · 適用於完整尺寸 MiniMax-H3 的 8 步 LoRA
- 輸出:5.2–15 s、24 fps 的影片(預設 1344×768),搭配 32 kHz 立體聲音軌。
- 取樣:4、6(預設)或 8 步,不使用無分類器引導(CFG)。
- 速度(5.2 s 片段、6 步):4× B200 上為 8.7 s,1× H200 上為 36 s,1× RTX 5090 上為 92 s。
- 在 4× Blackwell GPU 上即時執行:NVIDIA SOL-H3 可在 4× B 系列 GPU 上即時執行 HyperFlow H3 Flash。SOL-H3 是我們的推論加速合作夥伴,從模型推出首日起便支援此模型。
- 模型大小:13.7B(
fl2va)或 13.9B(ref2va)個引數,不到約 31B 的 MiniMax-H3 Transformer 的一半。 - 最低記憶體需求:
Q4_K_M為 9.1 GB(Q8_0為 14.9 GB)。可在配備 16 GB 系統 RAM 的電腦上使用 24 GB 和 32 GB GPU 執行。尚未測試 16 GB GPU。
支援的任務
| 任務 | 輸入 | ComfyUI 範本 | GGUF | Python INT8 |
|---|---|---|---|---|
t2va |
文字提示 | hyperflow_t2v |
是 | 是 |
fl2va |
提示 + 第一個關鍵影格,或第一個和最後一個關鍵影格 | hyperflow_i2v、hyperflow_flf2v |
是 | 是 |
ref2va |
提示 + 最多 12 個參考素材 | hyperflow_ref2v |
僅限圖片 | 圖片、影片和音訊 |
選擇執行環境
判斷原則:系統 RAM 為 64 GB 或以下的電腦請使用 GGUF。資料中心 GPU,或搭配至少 69 GiB 系統 RAM 的 24 GB 以上 RTX GPU,請使用 INT8 convrot。
所有權重都在 VideoRebirthAI/hyperflow-h3-flash。
| GGUF | INT8 convrot | |
|---|---|---|
| 執行環境 | ComfyUI、Unsloth Studio、stable-diffusion.cpp(設定指南) | 此 Python 套件(hyperflow-h3-flash CLI 和 diffusers) |
| 精度與大小 | Q3_K_M 至 Q8_0(7.2–15.2 GB) |
W8A8 INT8 + 低秩(約 16 GB) |
| Hub 資料夾 | fl2va_gguf/、ref2va_gguf/ |
fl2va_int8_convrot/、ref2va_int8_convrot/ |
ref2va 輸入 |
圖片 | 圖片、影片和音訊 |
| 目標 GPU | 消費級 RTX GPU(以 24 GB 和 32 GB GPU 測試) | H100 / H200 / B200 / B300(1–8 張 GPU),或 24 GB 以上 RTX GPU |
| 系統 RAM | 16 GB 以上 | 不使用解除安裝時約 16 GiB;使用解除安裝時需 ≥ 69 GiB(fp8 文字編碼器)或 ≥ 91 GiB(bf16) |
GGUF 執行環境(ComfyUI、Unsloth Studio、stable-diffusion.cpp)
| 量化 | fl2va_gguf/ |
ref2va_gguf/ |
適用情況 |
|---|---|---|---|
Q4_K_M |
9.1 GB | 9.2 GB | 24 GB GPU 的建議預設選項 |
Q8_0 |
14.9 GB | 15.2 GB | VRAM 和系統 RAM 足夠時,最接近完整精度 |
Q3_K_M |
7.2 GB | 7.4 GB | 佔用空間最小(另有 Q4_K_S、Q5_K_M 和 Q6_K 可供選擇) |
完整設定指南:integrations/README.md。快速開始:
- ComfyUI (
Video-Rebirth/ComfyUI-HyperFlow-Flash):- 將 ComfyUI-GGUF 和 ComfyUI-HyperFlow-Flash 複製到
ComfyUI/custom_nodes/。 - 下載 15.7 GB 的
qwen3vl_32b_minimax_h3_nvfp4_awq文字編碼器。 - 在 16 GB 或 32 GB 電腦上,使用
python main.py --fast-disk啟動 ComfyUI。 - 開啟 Workflow > Browse Templates > ComfyUI-HyperFlow-Flash,並選擇
hyperflow_t2v、hyperflow_i2v、hyperflow_flf2v或hyperflow_ref2v。
- 將 ComfyUI-GGUF 和 ComfyUI-HyperFlow-Flash 複製到
- Unsloth Studio (setup guide):
- 將
SD_CLI_PATH指向已修補的sd-cli二進位檔,然後執行unsloth studio。 - 載入
VideoRebirthAI/hyperflow-h3-flash(fl2va_gguf/或ref2va_gguf/)。 - Studio 會自動下載配套的文字編碼器和 VAE。它會以
CFG = 1執行內建的 6 步排程。
- 將
- stable-diffusion.cpp (
integrations/stable-diffusion.cpp/): 將hyperflow-two-time.patch套用至上游提交3be2378。此修補程式新增雙時間(t, r)嵌入器、低秩線性層、從 GGUF 中繼資料取得的預設 6 步驟排程,以及用於長片段的 32 位元矩陣乘法 token 分割。
Python 套件(INT8 convrot)
安裝
pip install git+https://github.com/Video-Rebirth/hyperflow-h3-flash pip install "hyperflow-h3-flash[hopper] @ git+https://github.com/Video-Rebirth/hyperflow-h3-flash" # H100 / H200: FlashAttention-3 pip install "hyperflow-h3-flash[fp8] @ git+https://github.com/Video-Rebirth/hyperflow-h3-flash" # --text-encoder-precision fp8
- 需求:Python 3.10 以上版本、搭配 CUDA 和 Triton 的 PyTorch 2.6 以上版本(原生 Windows 上的
pip install triton-windows)、Ampere 或更新款 NVIDIA GPU,以及diffusers >= 0.40。多 GPU(--gpus> 1)需要 Linux 或 WSL2(在 WSL2 上的%UserProfile%\.wslconfig中提高memory=)。 - 首次執行時下載:約 90 GB,或使用
--text-encoder-precision fp8時約 68 GB。內容包含 MiniMax-H3 文字編碼器、VAE,以及供所選任務使用的 16 GB HyperFlow INT8 轉換器。絕不會下載 62 GB 的基礎轉換器。 - 首次執行時編譯:Triton INT8 核心會在首次使用時編譯(約 1 分鐘)。
命令列
執行 hyperflow-h3-flash 或 python -m hyperflow_h3_flash:
# Text to video + audio (t2va) hyperflow-h3-flash --prompt "A chef slides a steaming bowl of ramen across a wooden counter; rain taps on the window." \ --output ramen.mp4 # First keyframe, or first + last keyframe (fl2va) hyperflow-h3-flash --prompt "..." --image first.png --output clip.mp4 hyperflow-h3-flash --prompt "..." --image first.png --last-image last.png --output clip.mp4 # Reference images, videos (with soundtrack), and audio clips in prompt order (ref2va) hyperflow-h3-flash --prompt "<Picture 1> walks through the scene of <Picture 2> ..." \ --reference person.png --reference scene.png --output clip.mp4 # 15 s clip, context-parallel across 4 GPUs (or --gpus auto for up to 4 visible GPUs) hyperflow-h3-flash --prompt "..." --num-frames 360 --gpus 4 # 4 steps (speed), 6 steps (default), or 8 steps (quality) hyperflow-h3-flash --prompt "..." --steps 4
| 選項 | 值/預設值 | 說明 |
|---|---|---|
--steps |
4、6(預設)、8 |
取樣步數:4 速度最快,6 平衡,8 品質最佳。Sigma 網格位於 schedule.py。 |
--num-frames |
124–362(預設為 124) |
以 24 fps 計算的影格數(5.2 至 15 s)。會向上取整至 17n + 5(360 會變成 362)。 |
--height、--width |
32 的倍數 | 預設值:短邊為 768。依照 --image 的長寬比設定;若為 t2va,則使用 16:9。 |
--reference |
可重複使用的路徑 | ref2va 個輸入,依提示詞順序對應 <Picture i>、<Video i> 和 <Audio i>。限制:9 張圖片、3 段影片、3 段音訊,共 12 個。 |
--gpus(--num-gpus) |
1、2、4、7、8、auto |
多 GPU 情境與 VAE 分塊平行處理。在 torchrun 下自動重新啟動。 |
--offload |
auto(預設)、none、model、stream |
GPU 記憶體配置。請參閱 解除安裝模式。 |
--text-encoder-precision |
bf16(預設)、fp8 |
fp8 會載入 Qwen/Qwen3-VL-32B-Instruct-FP8。解除安裝時可節省約 22 GiB 系統 RAM。需要額外安裝 [fp8]。 |
--fp8-gemm |
triton(預設)、deepgemm |
fp8 文字編碼器的 GEMM 後端。deepgemm 需要 Hopper 或更新版本。 |
--attention |
auto(預設)、sdpa、fa3 |
若已安裝 kernels,會在 Hopper 上使用 FlashAttention-3(fa3)。否則使用 PyTorch sdpa。 |
--block-chunk |
0(預設)、16384、⋯ |
將轉換器區塊中的每項 token 級運算切片,以限制 VRAM 中的啟用值。16384 可在 24 GB VRAM 中處理 15 秒的混合 ref2va。 |
--weights、--subfolder、--base-model |
Hub ID 或本機路徑 | 覆寫轉換器儲存庫、任務子資料夾或基礎 MiniMaxAI/MiniMax-H3 快照。 |
examples/benchmark.py 會計時每個管線階段,並測量 torchrun 下每張 GPU 的記憶體峰值。
Python API
import torch from diffusers.utils.export_utils import encode_video from hyperflow_h3_flash import load_pipeline pipe = load_pipeline("t2va") # "fl2va": pass image=... (and last_image=...); "ref2va": pass references=[...] out = pipe( prompt="A chef slides a steaming bowl of ramen across a wooden counter.", num_frames=124, num_inference_steps=6, # 4, 6, or 8 generator=torch.Generator().manual_seed(0), output=["videos", "audio", "sampling_rate"], ) encode_video( out["videos"][0], fps=24, output_path="ramen.mp4", audio=out["audio"][0], audio_sample_rate=out["sampling_rate"], )
- 在
torchrun下使用多 GPU:呼叫torch.distributed.init_process_group("nccl"),並將device=f"cuda:{local_rank}"傳給load_pipeline。管線會將執行工作分散到各個 rank,並在每個 rank 上傳回完整輸出。 - 獨立轉換器(
AutoModel):每個 INT8 Hub 資料夾都附有完整的模型程式碼。無需安裝此套件即可載入:from diffusers import AutoModel,接著AutoModel.from_pretrained("VideoRebirthAI/hyperflow-h3-flash", subfolder="fl2va_int8_convrot", trust_remote_code=True, torch_dtype=torch.bfloat16)。
解除安裝模式
--offload 用來設定 GPU 記憶體配置。auto(預設)會依每張 GPU 的 VRAM 選擇模式:
--offload |
保留在 GPU VRAM 中 | auto 門檻(1 張 GPU/多 GPU) |
系統 RAM(文字編碼器為 bf16/fp8) |
|---|---|---|---|
none |
所有元件 | ≥ 90 GiB/≥ 65 GiB | 約 16 GiB |
model |
一次僅保留一個作用中的元件 | ≥ 60 GiB/≥ 45 GiB | 約 91 GiB/約 69 GiB |
stream |
一次僅保留作用中的 VAE,以及一個轉換器區塊或文字編碼器層 | < 60 GiB/< 45 GiB | 約 91 GiB/約 69 GiB |
- 在同一張 GPU 上,
stream只比none慢約 2%。 model和stream會將解除安裝的權重保留在單一固定的主機記憶體配置中。- 載入器會移除條件輸出節點以上未使用的 Qwen3-VL 層,可節省約 14 GB。
--text-encoder-precision fp8還可再節省約 22 GiB。 - 在容器中,請從
/sys/fs/cgroup/memory.max讀取記憶體限制,而非從free讀取。
效能測試
所有執行均以1344×768、6 步驟進行端對端測試:文字編碼、轉換器,以及影片和音訊 VAE 解碼。每個 a / b 儲存格中的數值,代表一段5.2 秒/15 秒片段(124/362 個影格)的總處理時間。
消費級 RTX GPU:t2va
| GPU | GGUF,≥ 64 GB RAM | GGUF,32 GB RAM | GGUF,16 GB RAM | INT8,≥ 69 GiB RAM |
|---|---|---|---|---|
| RTX 5090 (32 GB) | 99 秒 / 575 秒 | 118 秒 / 618 秒 | 130 秒 / 615 秒 | 92 秒 / 551 秒 |
| RTX 4090 (24 GB) | 157 秒 / 830 秒 | 151 秒 / 815 秒 | 153 秒 / 812 秒 | 130 秒 / 750 秒 |
| RTX 3090 (24 GB) | 315 秒 / 1835 秒 | 318 秒 / 1869 秒 | 325 秒 / 1866 秒 | 266 秒 / 1684 秒 |
| 峰值 VRAM | 5090:28 / 27 GiB;24 GB:23 / 22 GiB | 相同 | 相同 | 12.0–12.5 / 21.8–22.4 GiB |
- GGUF 設定:ComfyUI、
Q4_K_M,以及 15.7 GB 的nvfp4文字編碼器。32 GB 和 16 GB 電腦使用--fast-disk,模型存放在 NVMe 上(主機 RAM)。RAM 至少 64 GB 的電腦,峰值 RSS 為 34–37 GiB。32 GB 電腦的匿名 RSS 約為 8–16 GiB,16 GB 電腦則約為 8 GiB。 - INT8 設定:
hyperflow-h3-flash --offload stream。搭配bf16文字編碼器時,需要至少 91 GiB 系統 RAM;搭配fp8時則約需 69 GiB。RTX 5090 的 15 秒執行使用了fp8。 - INT8 transformer 快 10–20%。GGUF 使用的系統 RAM 不到一半。Transformer 佔用超過 80% 的執行時間,且受運算效能限制。ComfyUI 會在執行時對
Q4_K_M權重進行反量化。 - 16 GB 和 32 GB 電腦請使用
--fast-disk。它會從作業系統的檔案頁面快取串流尚未載入的權重。若未使用它,VRAM 不足時,ComfyUI-GGUF 會將 9 GB 的 transformer 複製到已固定的 RAM。16 GB 電腦執行 15 秒片段時會耗盡 RAM。32 GB 電腦上的 RTX 3090 和 5090 則會分別慢 13% 和 21%(文字編碼耗時由 7–9 秒增加至 27–31 秒)。 - 32 GB VRAM 足以容納兩個模型。在 RTX 5090 上,文字編碼器和 transformer 可同時留在 VRAM 中(文字編碼耗時 0.8 秒)。在 24 GB GPU 上,ComfyUI 會在不同階段切換兩者(文字編碼耗時 10–16 秒)。
- 關鍵影格任務(
i2v、flf2v):請參閱 GGUF 指南:效能。
消費級 RTX GPU:ref2va
| GPU | INT8,2 張圖片 | INT8,混合 | GGUF match,2 張圖片 |
GGUF max,2 張圖片 |
|---|---|---|---|---|
| RTX 5090 (32 GB) | 266 秒 / 914 秒 | 503 秒 / 1318 秒 | 135 秒 / 660 秒 | 295 秒 / 995 秒² |
| RTX 4090 (24 GB) | 319 秒 / 1167 秒 | 630 秒 / 1702 秒¹ | 194 秒 / 885 秒 | 398 秒 / 1275 秒² |
| RTX 3090 (24 GB) | 726 秒 / 2763 秒 | 1441 秒 / 4033 秒¹ | 401 秒 / 2059 秒 | 885 秒 / 2995 秒² |
| 峰值 VRAM | 19.5–19.8 / 23.3–25.6 GiB | 19.6–20.2 / 22.8–28.5 GiB | 5090:31 GiB;24 GB:22 GiB(5.2 秒) | 5090:30 GiB;24 GB:21 GiB(5.2 秒) |
- 參考素材:使用
t2va產生的兩張 768p 靜態圖(人物和街市)。混合包含一張靜態圖、一段含配樂的 5.2 秒參考影片,以及一段音訊片段。 - INT8 設定:系統 RAM 為 100–125 GB(程式 RSS 為 80–88 GiB)。¹ 在 24 GB GPU 上執行 15 秒混合素材需要
--block-chunk 16384。若未使用,VRAM 會耗盡。 - GGUF 設定:在 RAM 至少 64 GB 的電腦上執行 ComfyUI,搭配
hyperflow_ref2v_api.json和nvfp4文字編碼器。ref_image_sizematch(預設)會將每個參考素材縮小至與輸出相同的像素面積,並保留長寬比。max只會在短邊超過 2048 時縮小。max執行時使用放大至 3584×2048 的靜態圖,這是 INT8 流程使用的尺寸。² 15 秒的max需要python main.py --disable-cuda-malloc。預設的cudaMallocAsync配置器無法搭配CUDA error: invalid argument使用。 - 每個參考素材都會在每個步驟中增加 token。短邊為 2048 時,一張圖片會增加約 14,300 個 token(約等於七個 768p 潛在影格)。片段本身在 5.2 秒時有 37,710 個 token,15 秒時則有 109,062 個。注意力運算成本會隨 token 數量的平方增加。因此,5.2 秒時,INT8 transformer 使用兩張圖片所需時間是
t2va的 2.6–2.9 倍,使用混合素材則是 5.2–5.8 倍。 - GGUF
match是速度最快的圖片參考流程。在 5.2 秒時,它會使t2v增加 24–36%;在 15 秒時則增加 7–15%。參考素材尺寸相同(max)時,GGUF 在 5.2 秒時比 INT8 慢 11–25%,在 15 秒時慢 8–9%。 --fast-disk也適用於ref2v。 32 GB 和 16 GB 電腦在所有三款 GPU 上都能執行 5.2 s 和 15 s 片段,與 ≥ 64 GB RAM 的結果相比,差異在 15 s 時不超過 4%。請參閱 GGUF 指南:主機 RAM。
資料中心 GPU(INT8)
| GPU | --offload |
5.2 s | 15 s | 峰值 VRAM / GPU(5.2 s / 15 s) | 系統 RAM / GPU |
|---|---|---|---|---|---|
| 1× H200(141 GB) | none |
36 s | 229 s | 80 / 91 GiB | 16 GiB |
| 2× H200(141 GB) | none |
24 s | 119 s | — / 71 GiB | 16 GiB |
| 4× H200(141 GB) | none |
12.6 s(16 s SDPA) | 66 s | 47 / 59 GiB | 16 GiB |
| 4× B200 | none |
8.7 s | — | 46 GiB | 16 GiB |
- 即時推論:表格列出的是這個套件的測量結果。若要在 4× B 系列 GPU 上進行即時推論,請使用 NVIDIA SOL-H3。
- INT8 GEMM 後端:4× H200 這一列使用預設的 Triton 核心(12.6 s)。
int8_gemm="sgl"(透過sgl-kernel使用 CUTLASS INT8)測得 12.3 s。 - 4-GPU 各階段耗時(5.2 s):文字編碼器 0.11–0.16 s。6 步驟 transformer 在 4× H200 上耗時 7.8–7.9 s,在 4× B200 上耗時 5.0 s。Video VAE 解碼耗時 3.3–4.0 s。
- 1088p(1920×1088,362 個影格):在 1× H200 上耗時 743 s(106 GiB VRAM)。在 4× H200 上耗時 220 s(每張 GPU 68 GiB VRAM)。
架構與硬體說明
運作方式
HyperFlow H3 Flash 透過三種方式修改 MiniMax-H3 transformer:
- 結構化剪枝與低秩分解:
| 分割槽 | Hub 資料夾 | 取代 | 移除的區塊 | 分解後的線性層 | 引數 |
|---|---|---|---|---|---|
fl2va(服務 t2va 和 fl2va) |
fl2va_int8_convrot/、fl2va_gguf/ |
transformer |
50 個區塊中移除 3 個(第 6、21、22 個區塊) | 102 | 13.7B |
ref2va |
ref2va_int8_convrot/、ref2va_gguf/ |
transformer_ref |
50 個區塊中移除 1 個(第 9 個區塊) | 114 | 13.9B |
- 旋轉式 W8A8 INT8 量化(
convrot):180 個線性層透過區塊對角 Hadamard 旋轉進行 W8A8 INT8 量化。 - 雙時間點
(t, r)條件設定:每個 token 都會取得目前的雜訊等級t和步驟終點r。這讓模型無須 CFG 即可進行 4 至 8 步取樣。條件設定 token 會維持在其錨定雜訊等級(r = t)。
多 GPU 與核心派送(hyperflow-h3-flash)
-
序列與 VAE 平行處理(
--gpus N):Ulysses context parallelism 會將打包後的 transformer 序列分割至 $N$ 張 GPU。各 rank 會平行編碼關鍵影格與參考影格,並解碼空間影片 VAE 區塊。接著,各 rank 會全體收集並混合區塊,使輸出與單 GPU 結果逐位元一致。 -
文字編碼器配置:使用
--offload none和bf16文字編碼器時,FSDP2 會將 50 GiB 的文字編碼器分割至多張 GPU。這會將 4-GPU 峰值 VRAM 從 91 GiB 降至每張 GPU 59 GiB。使用解除安裝或fp8時,rank 0 會執行文字編碼器並廣播嵌入(約 2 MB)。 - INT8 GEMM 派送:
| GPU 架構 | 核心後端 |
|---|---|
Ampere、Ada、Hopper、消費級 Blackwell(sm_80–sm_90、sm_120) |
在 99 KiB 共享記憶體限制內使用融合式 Triton 核心(或在 Hopper 上透過 sgl-kernel 使用 CUTLASS INT8) |
資料中心 Blackwell(sm_100) |
cuBLASLt INT8 |
B300(sm_103) |
使用 BF16 張量核心並以 fp32 累加(sm_103 上的 INT8 張量運算吞吐量受到限制;需搭配 PyTorch 2.8+ 和支援 sm_103 的 Triton) |
- 可重現性:相同的隨機種子、GPU 架構、GPU 數量和注意力後端會產生逐位元一致的片段。
text_encoder_fsdp和vae_parallel也能維持逐位元一致的輸出。
開發
make install # create .venv and install editable package with dev tools make test # run unit tests on tiny models (CUDA tests skip without a GPU) make lint # ruff check + format check
儲存庫目錄結構
.
├── src/hyperflow_h3_flash/ # Python package (INT8 runtime)
│ ├── cli.py # `hyperflow-h3-flash` CLI entry point
│ ├── __main__.py # `python -m hyperflow_h3_flash` entry point
│ ├── hostmem.py # Host RAM estimate before loading
│ ├── pipeline.py # `load_pipeline`: loads models, trims unused text-encoder layers, configures offload/multi-GPU
│ ├── blocks.py # Modular Pipeline blocks swapped into the official MiniMax-H3 workflows
│ ├── transformer.py # `HyperFlowH3FlashTransformer3DModel`: dropped blocks, low-rank linears, two-time (t, r) conditioning
│ ├── int8.py # Hadamard-rotated W8A8 linear layers (Triton, cuBLASLt, CUTLASS, and B300 BF16 kernels)
│ ├── schedule.py # 4-, 6-, and 8-step sigma grids and per-token (t, r) pairs
│ ├── offload.py # Single-GPU memory placement (`none`, `model`, `stream`)
│ └── distributed.py # Multi-GPU execution (torchrun launch, Ulysses attention, FSDP2 / rank-0 text encoder, parallel VAE)
├── integrations/ # GGUF runtimes for consumer GPUs
│ ├── README.md # Step-by-step setup guide for ComfyUI, Unsloth Studio, and stable-diffusion.cpp
│ ├── ComfyUI-HyperFlow-Flash/ # Custom nodes (`loader_nodes.py`, `model_patch.py`, `gguf_io.py`; GPL-3.0)
│ │ └── example_workflows/ # Four UI workflows (`hyperflow_t2v`, `hyperflow_i2v`, `hyperflow_flf2v`, `hyperflow_ref2v`) and API versions in `api/`
│ └── stable-diffusion.cpp/ # `hyperflow-two-time.patch` for upstream commit `3be2378` (MIT)
├── examples/ # `benchmark.py` (per-stage timings and peak memory)
├── tests/ # Unit tests on tiny models (CUDA tests skip without a GPU)
├── Makefile # `make install`, `make test`, and `make lint`
├── pyproject.toml # Package metadata and optional extras (`hopper`, `sgl`, `fp8`, `dev`)
├── LICENSE # Apache License 2.0
└── THIRD_PARTY_NOTICES.md # Notices for components adapted from `diffusers`
授權條款
- 儲存庫程式碼:Apache License 2.0,但
integrations/ComfyUI-HyperFlow-Flash(GPL-3.0)和integrations/stable-diffusion.cpp(MIT)除外。 - 第三方宣告:改編自
diffusers的元件,其宣告保留於 THIRD_PARTY_NOTICES.md。 - 模型權重:依據 MiniMax H3 Community License Agreement 發行的 MiniMax-H3 模型衍生版本。CLI 和
load_pipeline會在首次執行時下載這些權重,使用即表示接受該協議。未經 MiniMax 授權,該協議不涵蓋在歐盟、英國、大韓民國或美國的使用,且協議包含可接受使用政策。授權條款與宣告請參閱模型卡。