跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • 浅色
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • 深色
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(LCZ-Blue)
  • 不使用皮肤
  • LCZ-Green
  • LCZ-Blue
  • LCZ-Black
折叠
品牌标识

抡锤者

首页 版块 标签
硬件
AI 硬件 装备秀
AI
AIGC LLM Agent AI 危机 资讯
广场 App
  1. 主页
  2. 版块
  3. 随便聊聊
  4. 双R9700 MiniMax-H3 Ref2VA 长视频生成测试报告

双R9700 MiniMax-H3 Ref2VA 长视频生成测试报告

已定时 已固定 已锁定 已移动 随便聊聊
r9700minimax视频生成
4 帖子 3 发布者 369 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • Magic629M
    Magic629M
    Magic629
    硕果累累 贵族大夫
    编写于 最后由 编辑
    #1

    双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 条

    三条最有价值的发现

    1. packed_rows 是唯一硬约束:rows ≈ 帧数 × 百万像素 × 289,总预算 119,304。1344×768 + 362 帧已用 110,370(92.5%),再想加长必须先砍参考素材。
    2. 1280×720 不是合法尺寸(720÷32=22.5),正确写法是 1280×736。API 会拒答并提示该比例下的合法画布。
    3. 耗时对分辨率超线性:采样耗时 ≈ 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 线程
    内存 MemTotal 65,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 ×8
    GPU 功耗上限 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 启动参数(本次固定)

    参数 值 作用
    --model minimax-h3-ref2va-fp8.rad 25.01 GiB 容器
    --radiance-home build/radiance_home 插件根(与二进制同构建)
    --tp 2 双卡张量并行
    --p2p off 集合通信走锁页主机内存
    --host-pool-mib 8192 每卡 8.85 GiB 锁页池(实测值)
    --gpu-headroom-mib 2048 每卡预留 2 GiB 显存
    --vision-tower-placement ram 编码塔 871.16 MiB/rank 放主机内存
    --kernels libr4d 只用 RDNA4 内核库
    --placement layer_offload 权重按层从主机池换入
    --host / --port 0.0.0.0 / 8001 监听

    3.2 请求字段(本模型强制)

    字段 本次取值 说明
    model minimax-h3-ref2va 必填
    task ref2va 唯一支持的任务
    prompt 见附录 D 不套模板,支持 <Picture 1> / <Audio 1> 引用
    size WxH(32 对齐) 见 §6 矩阵
    seconds 15.083 原生帧数 362
    seed 每档随机 见下表
    num_inference_steps 21 含终端零网格点 → 20 次前向
    prepared_context 由预处理生成 含 rows/tags/data/initial_noise
    conditions 1 图 + 1 音频 参考几何见各档日志

    3.3 六档任务参数

    分辨率 seed 提示词文件 参考 预处理耗时 packed_rows
    256×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

    image.jpeg


    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/meminfo
    swap 使用 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 —

    image.jpeg

    解读

    • 温度在约 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 ✅ completed 44.8 s
    2 19:23:48 512×320 ✅ completed 110.4 s
    3 19:26:23 832×480 ✅ completed 347.4 s
    4 19:32:48 1024×576 ✅ completed 616.1 s
    5 19:43:23 1280×720 ⚠️ 预处理拒绝(非 32 对齐) 0 s
    6 19:44:08 1344×768 ✅ completed 1527.9 s
    7 20:14:19 1280×736(补测) ✅ completed 1309.8 s
    8 20:44:07 256×256(监控探针) ✅ completed 44.8 s
    9 20:44:56 832×480(监控探针) ✅ completed 350 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 次
    服务错误级日志 E 0 条
    服务警告级日志 W 7 条,全部是同一句"静态权重吃满 13.16 GiB"容量提示(每次启动一条)
    swap 全程 0 使用
    服务自动重启 NRestarts=0

    6.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.mp4 256×256 1,244,528 5c31874e4fd8ab0089e57fc2f3907afe
    H3-长视频-512x320.mp4 512×320 4,281,912 9069c786872c1128b2606470cc0af08a
    H3-长视频-832x480.mp4 832×480 3,457,167 1701a3b8619b066a835c23257ddf231f
    H3-长视频-1024x576.mp4 1024×576 4,272,624 6823bbd7c8af83250e3dbcc6d9673900
    H3-长视频-1280x736.mp4 1280×736 7,248,259 b915218d833bbd3636b2636c38021928
    H3-长视频-1344x768.mp4 1344×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。

    1 条回复 最后回复
    1
    • terryT
      terryT
      terry
      易有太极
      编写于 最后由 编辑
      #2

      很好的参考,看来7900XTX双卡方案已经非常成熟。

      油管:https://www.youtube.com/@抡锤者

      Magic629M 1 条回复 最后回复
      0
      • terryT terry

        很好的参考,看来7900XTX双卡方案已经非常成熟。

        Magic629M
        Magic629M
        Magic629
        硕果累累 贵族大夫
        编写于 最后由 编辑
        #3

        @terry 锤哥,双卡7900XTX出的效果应该比R9700双卡要好点吧,毕竟显存带宽要高不少。

        1 条回复 最后回复
        0
        • 懒人烘培懒
          懒人烘培懒
          懒人烘培
          王侯将相
          编写于 最后由 懒人烘培 编辑
          #4

          那双十一7900XTX价格不是要起飞了~价格应该会降几百元

          双 7900 XTX:模型本地跑,Token 随便烧!

          1 条回复 最后回复
          0

          你好!看起来您对这段对话很感兴趣,但您还没有一个账号。

          厌倦了每次访问都刷到同样的帖子?您注册账号后,您下次访问时都将自动回到上次浏览的位置,并可选择接收新回复的通知(通过电子邮件或推送通知)。您还可以收藏帖子、为帖子点赞,以此向其他社区成员表达您的感谢。

          有了你的建议,这篇帖子会更精彩哦 💗

          注册 登录
          回复
          • 在新帖中回复
          登录后回复
          • 从旧到新
          • 从新到旧
          • 最多赞同


          • 登录

          • 登录或注册以进行搜索。
          • 第一个帖子
            最后一个帖子
          0
          • 版块
          • 最新
          • 标签
          • 热门
          • 用户
          • 群组