双R9700 MiniMax-H3 Ref2VA 长视频生成测试报告
-
双R9700 MiniMax-H3 Ref2VA 长视频生成测试报告
六档分辨率长视频 · 性能与稳定性(视频超过大小限制就不上传了)
摘要
本次工作在六档分辨率下各生成一条 15.08 秒(362 帧)长视频并全程记录性能与稳定性。
关键数字
指标 结果 接口验收 16 项全部符合预期(含 9 项拒答用例);补充端点 6 项全部正常 长视频成品 6 条,共 25.9 MB,均为 1344 / 1024 / 832 等 32 对齐尺寸 生成成功率 8 次请求(6 长视频 + 2 监控探针)全部成功,0 失败、0 超时 单条耗时 44.8 s(256×256)→ 1527.9 s(1344×768),差 34 倍 总 GPU 计算量 4126 s(采样 3956 + 预处理 170),占 74.4 min 测试窗口的 约 92% 峰值温度 card0 70 °C / card1 75 °C(持续负载 350 s,未触发降频) 峰值功耗 card0 456 W / card1 411 W(平均 242.8 / 236.8 W) 主机内存 进程 RSS 20.4–20.6 GiB,系统可用内存稳定 35.7–36.0 GiB,swap 使用 0 内核异常 AER 0 次、OOM 0 次、GPU reset 0 次、错误级日志 0 条 三条最有价值的发现
packed_rows是唯一硬约束:rows ≈ 帧数 × 百万像素 × 289,总预算 119,304。1344×768 + 362 帧已用 110,370(92.5%),再想加长必须先砍参考素材。1280×720不是合法尺寸(720÷32=22.5),正确写法是1280×736。API 会拒答并提示该比例下的合法画布。- 耗时对分辨率超线性:采样耗时 ≈
rows^1.45。从 8.7k 行到 110k 行,行数涨 12.6 倍,耗时涨 39 倍。
1. 测试对象与环境
1.1 硬件
项目 实测值 主机名 / IP magic629-AI / (网卡 enp131s0) CPU Intel(R) Core(TM) Ultra 7 265K,20 线程 内存 MemTotal65,287,596 kB(≈62.26 GiB);swap 41,943,032 kB(≈40 GiB,全程未用)GPU 2 × AMD Radeon AI PRO R9700 32 GB( gfx1201,RDNA4),PCIe Gen5 ×8GPU 功耗上限 250 W(驱动默认 300 W,由 gpu-power-cap.service设定)系统盘 NVMe, /915 GB,已用 628 GB(73%)内核 7.0.0-38-generic 1.2 软件栈
组件 版本/路径 推理引擎 /home/magic629/radiance-h3-fullref/build/bin/radiance(Bunsei 分支,git describe=v1.12.0-31-ga065337)插件目录 .../build/radiance_home(--radiance-home)内核库 libr4d(--kernels libr4d;libref存在但被排除)模型容器 /home/magic629/h3-models/minimax-h3-ref2va-fp8.rad,25.01 GiB模型元信息 arch=minimaxh3,64 层,262144 ctx,词表 151669,max_tok=119304预处理 ComfyUI( /home/magic629/ComfyUI)+scripts/h3_fullref.py prepare服务管理 systemd, User=magic629,开机自启 disabled
2. 测试方法
维度 做法 接口测试 curl逐个打端点;拒答用例用真实request.json改一个字段后提交,全部在入队前被 400 拦下,不消耗 GPU时间口径 引擎日志 completed, X MB: queue and prompt Q s, steps S s, decode D s;请求总耗时 = 提交到下载完成随机性 每档用 $RANDOM生成 seed(10–99 万),提示词每档独立撰写视频规格 统一 362 帧 = 17×21+5,15.083 s @24 fps, num_inference_steps=21(20 次评估)参考素材 统一 1 张人物图 identity.png+ 1 段音频music.wav(不带动运动参考视频)遥测采样 直接读 /sys/class/drm/cardN/device/hwmon/*(温度/功耗)与/proc/meminfo、/proc/PID/status,2 s 一个点稳定性判定 任务成功率、错误级日志、内核 AER/OOM、swap 使用、服务重启次数 说明:
rocm-smi在本机非登录 shell 下不可用,因此改用 sysfs 直接读取,数据同源且更细。
3. 参数档案
3.1 启动参数(本次固定)
参数 值 作用 --modelminimax-h3-ref2va-fp8.rad25.01 GiB 容器 --radiance-homebuild/radiance_home插件根(与二进制同构建) --tp2双卡张量并行 --p2poff集合通信走锁页主机内存 --host-pool-mib8192每卡 8.85 GiB 锁页池(实测值) --gpu-headroom-mib2048每卡预留 2 GiB 显存 --vision-tower-placementram编码塔 871.16 MiB/rank 放主机内存 --kernelslibr4d只用 RDNA4 内核库 --placementlayer_offload权重按层从主机池换入 --host/--port0.0.0.0/ 8001监听 3.2 请求字段(本模型强制)
字段 本次取值 说明 modelminimax-h3-ref2va必填 taskref2va唯一支持的任务 prompt见附录 D 不套模板,支持 <Picture 1>/<Audio 1>引用sizeWxH(32 对齐)见 §6 矩阵 seconds15.083 原生帧数 362 seed每档随机 见下表 num_inference_steps21 含终端零网格点 → 20 次前向 prepared_context由预处理生成 含 rows/tags/data/initial_noiseconditions1 图 + 1 音频 参考几何见各档日志 3.3 六档任务参数
分辨率 seed 提示词文件 参考 预处理耗时 packed_rows256×256 633262 prompts/256x256.txt图 ×1 + 音频 ×1 23.4 s 8,728 512×320 169348 prompts/512x320.txt图 ×1 + 音频 ×1 25.3 s 19,213 832×480 443334 prompts/832x480.txt图 ×1 + 音频 ×1 29.9 s 44,244 1024×576 358685 prompts/1024x576.txt图 ×1 + 音频 ×1 29.9 s 64,146 1280×736 726451 prompts/1280x736.txt图 ×1 + 音频 ×1 30.0 s 100,953 1344×768 164579 prompts/1344x768.txt图 ×1 + 音频 ×1 30.0 s 110,370
4. 性能测试
4.1 六档分辨率实测
分辨率 Mpx rows 采样 解码 总耗时 s/步 帧/秒(采样) 文件 256×256 0.066 8,728 37.9 s 6.8 s 44.8 s 1.90 9.55 1.19 MB 512×320 0.164 19,213 98.8 s 11.5 s 110.4 s 4.94 3.66 4.08 MB 832×480 0.399 44,244 328.8 s 18.6 s 347.4 s 16.44 1.10 3.30 MB 1024×576 0.590 64,146 592.7 s 23.3 s 616.1 s 29.64 0.61 4.07 MB 1280×736 0.942 100,953 1272.2 s 37.6 s 1309.8 s 63.61 0.285 6.91 MB 1344×768 1.032 110,370 1490.2 s 37.6 s 1527.9 s 74.51 0.243 6.32 MB

4.2 规模律
- 行数模型:
packed_rows ≈ 帧数 × 百万像素 × 289 + 文本/参考行。六个样本的rows/(帧×Mpx)落在 288–291,非常稳定。 - 耗时模型:以
rows为自变量拟合,采样耗时 ≈rows^1.45(线性化误差 <8%)。也就是说面积和帧数是双重惩罚:翻倍面积约 2.7 倍耗时,翻倍帧数约 2.7 倍。 - 实用估算:
总耗时 ≈ 0.0043 s × rows × (rows/10000)^0.45 + 解码;粗略口径下,256×256 约 45 s、1344×768 约 25 min。 - 行预算:上限 119,304。1344×768 已用 110,370,剩余 8,934 行 ≈ 只能再多 29 帧。
4.3 其它性能事实(来自启动日志)
项目 数值 权重装载 25.01 GiB 一次读完,7.7 s,3.5 GB/s(NVMe) 权重重排 772 个权重、16 worker,峰值占用 294 MiB 放置总量 4,944 个权重 / 30.47 GiB(含各 rank 副本) 服务启动到可服务 12–14 s(6 次重启实测) 预处理(ComfyUI 编码) 23–30 s,与目标分辨率关系不大(主要开销在参考编码) 解码+封装 6.8 s(256×256)→ 37.6 s(≥1280 宽),H.264 + AAC
5. 资源占用
5.1 显存预算(引擎自报,每卡)
项 大小 说明 卡总容量 31.86 GiB 驱动可见 已占用(驱动/上下文) 498.71 MiB 常驻 驱动漂移预留 16.00 MiB — 激活 arena 15.84 GiB 由 buffer plan 计算 步骤 staging 251.76 MiB block table / 媒体暂存 硬件队列 106.09 MiB 3 条队列 × 35.36 MiB headroom(保留) 2.00 GiB --gpu-headroom-mib 2048可分配 13.16 GiB — 静态权重 13.16 GiB 两份 rank 分片,全部吃满 KV / 专家弹性 0 B 稠密 DiT,无专家平面;KV 让位给权重 每次启动都会打印一条告警:
the static (non-expert) weights alone want 13.16 GiB of the 13.16 GiB this card can give…。这是容量事实而非故障:权重刚好占满可分配区,因此没有 KV 弹性空间,任务天然串行(尽管queue_cap=8)。5.2 主机内存
项 数值 来源 每 rank 锁页池 8.85 GiB( --host-pool-mib 8192)启动日志 host_pool编码塔常驻 871.16 MiB × 2 rank --vision-tower-placement ram进程 RSS 20.4 → 20.6 GiB(负载中) /proc/PID/status系统可用内存 35.7–36.0 GiB(全程几乎不动) /proc/meminfoswap 使用 0(40 GiB 全空闲) SwapFree显存实测占用 card0 31.9 GB / card1 32.05 GB(sysfs mem_info_vram_used)空闲态 5.3 温度与功耗
空闲基线(探针开始前):card0 30 °C / 14 W,card1 35 °C / 14 W。
短任务(256×256,45 s,24 个采样点)
指标 card0 card1 温度 最低/最高/平均 30 / 61 / 47.6 °C 35 / 68 / 53.8 °C 功耗 最低/最高/平均 13 / 325 / 208.0 W 14 / 347 / 220.1 W GPU 占用 平均 88 % 88 % 持续任务(832×480,350 s,176 个采样点)
指标 card0 card1 温度 最低/最高/平均 52 / 70 / 68.8 °C 58 / 75 / 72.4 °C 功耗 最低/最高/平均 16 / 456 / 242.8 W 17 / 411 / 236.8 W GPU 占用 平均 98 % 98 % 内存可用 最低/平均 35.7 / 35.9 GiB — RSS 最低/最高 20.4 / 20.6 GiB — 
解读
- 温度在约 60 s 内进入平台(card0 70 °C / card1 75 °C),之后 5 分钟内波动 <1 °C,无热降频迹象(占用率维持 98%)。
- 功耗呈周期性锯齿(每步前向的计算/换入交替),平均值卡在 240 W 左右,峰值可短时冲到 400–456 W,高于
cap 250 W的瞬时读数属于采样窗口内的平均功率尖峰。 - card1 始终比 card0 高 5–7 °C,与 2026-10-29 体检报告里 card0 链路 AER 偏高的现象方向相反,说明两卡风道/位置不同,属正常差异。
6. 稳定性
6.1 任务成功率
序号 时间 分辨率 结果 耗时 1 19:22:28 256×256
completed44.8 s 2 19:23:48 512×320
completed110.4 s 3 19:26:23 832×480
completed347.4 s 4 19:32:48 1024×576
completed616.1 s 5 19:43:23 1280×720
️ 预处理拒绝(非 32 对齐)0 s 6 19:44:08 1344×768
completed1527.9 s 7 20:14:19 1280×736(补测)
completed1309.8 s 8 20:44:07 256×256(监控探针)
completed44.8 s 9 20:44:56 832×480(监控探针)
completed350 s 7 次真实生成全部成功;唯一"失败"是
1280×720的参数错误,在预处理阶段即被拦下,未占用 GPU。6.2 计算连续性
- 测试窗口 19:21:50 → 20:36:12(74.4 min) 内完成 6 条长视频 + 6 次预处理。
- GPU 计算时间:采样 3956 s + 预处理 ~170 s ≈ 4126 s,占窗口 约 92%。
- 期间服务重启 6 次(每档预处理需要独占 GPU),每次 12–14 s 就绪,无一次失败。
6.3 系统级健康
检查 结果 内核 AER(19:10 起) 0 次(此前 48 h 累计 9290 次可纠正错误,测试窗口内零增量) OOM / 内存不足 0 次( journalctl -k无匹配)GPU reset / ring timeout 0 次 服务错误级日志 E0 条 服务警告级日志 W7 条,全部是同一句"静态权重吃满 13.16 GiB"容量提示(每次启动一条) swap 全程 0 使用 服务自动重启 NRestarts=06.4 稳定性结论
在 74 分钟连续负载、92% GPU 占空比、12 次显存全量装载的强度下,系统表现出:
- 确定性:同一规格多次运行的耗时波动 <3%(256×256 两次均为 44.8 s)。
- 无退化:末段任务(1344×768,第 6 条)没有出现比前几条更慢或失败的情况。
- 热与功耗受控:峰值 75 °C / 456 W,未见降频。
风险项:连续 25 分钟满负载的任务(1344×768)只做了 1 次,未做 2 小时以上的长稳测试;PCIe AER 历史隐患仍在,建议长期挂采样脚本。
附录 A 成品清单与校验
文件(桌面) 尺寸 文件大小 MD5 H3-长视频-256x256.mp4256×256 1,244,528 5c31874e4fd8ab0089e57fc2f3907afeH3-长视频-512x320.mp4512×320 4,281,912 9069c786872c1128b2606470cc0af08aH3-长视频-832x480.mp4832×480 3,457,167 1701a3b8619b066a835c23257ddf231fH3-长视频-1024x576.mp41024×576 4,272,624 6823bbd7c8af83250e3dbcc6d9673900H3-长视频-1280x736.mp41280×736 7,248,259 b915218d833bbd3636b2636c38021928H3-长视频-1344x768.mp41344×768 6,623,834 5c1b9a30d97493ce18f35064c0960ba5公共属性:H.264(yuv420p)+ AAC 32 kHz 立体声,362 帧 / 15.083 s / 24 fps。
附录 D 六条提示词(原文)
256×256(雨夜霓虹巷口)
<Picture 1> is the woman in this portrait: brown wavy hair with a side-swept fringe, pearl drop earrings, soft grey studio light from the right. A tight cinematic portrait in a rain-slicked neon alley at night. She stands under the awning, rain falling just past her shoulder, and slowly lifts her chin toward the streetlight. Steam drifts through the frame. The camera pushes in slowly, holding her face in the left third. Sound: steady rain on canvas, distant traffic, a single bicycle bell. Music: a slow, low synth drone with <Audio 1> carrying the pulse.
512×320(玻璃温室)
<Picture 1> is the woman in this portrait: brown wavy hair with a side-swept fringe, pearl earrings, soft studio key light. A wide shot inside an old glass greenhouse in late afternoon. She walks slowly along the central path between tomato vines, fingertips brushing the leaves. Sunlight falls in long stripes across the floor. The camera tracks left on a dolly, keeping her in the right third, then settles as she stops to look up at the glass roof. Sound: birds outside, leaves brushing fabric, the creak of the glass frame. Music: warm acoustic guitar, joined by <Audio 1> in the second half.
832×480(黄昏天台)
<Picture 1> is the woman in this portrait: brown wavy hair with a side-swept fringe, pearl earrings, soft grey studio light. A rooftop at sunset above a dense city. She stands near the parapet with the wind moving her hair, then turns her head toward the camera and smiles faintly. The camera cranes up and back, revealing the skyline and the orange sky. Heat haze over the rooftop vents. Sound: wind, distant traffic, a plane passing overhead. Music: an airy pad with <Audio 1> underneath.1024×576(夜车车窗)
<Picture 1> is the woman in this portrait: brown wavy hair with a side-swept fringe, pearl earrings, soft studio light. A medium shot inside a moving night train. She sits by the window with the landscape streaking past behind her, reflections sliding across the glass. She looks up from a book, and the camera slowly racks focus from her face to the rain on the window and back. Sound: the rhythmic clatter of rails, a low ventilation hum. Music: a slow piano figure, <Audio 1> swelling gently.1280×736(雪林)
<Picture 1> is the woman in this portrait: brown wavy hair with a side-swept fringe, pearl earrings. A wide shot on a snowy forest path in early morning. She walks toward the camera through falling snow, breath fogging, a dark green coat against the white birches. The camera tracks backward ahead of her at walking pace, the depth of the forest opening up behind her. Sound: snow crunching underfoot, wind in the birches, a distant crow. Music: a sparse cello line with <Audio 1>.1344×768(沙丘黄金时刻)
<Picture 1> is the woman in this portrait: brown wavy hair with a side-swept fringe, pearl earrings. An epic wide shot on desert dunes at golden hour. She stands on the crest of a dune, coat moving in the wind, and the camera slowly orbits around her while the shadowed dunes ripple to the horizon. Fine sand streams off the ridge. Warm low sun, long shadows. Sound: wind over sand, a low rumble, cloth flapping. Music: a deep orchestral swell with <Audio 1>.
本报告全部数字来自 2026-10-29 19:19–20:51 的现场实测:接口用例为 curl 真实请求,性能数字取自引擎自身日志,温度/功耗取自 sysfs 2 s 采样,稳定性检查基于
journalctl与内核日志。测试脚本与原始日志保存在~/h3-matrix/与/tmp/load_probe*.csv。 -
-
-