[H3剑心比赛]170hx 双卡并行同时生成|MiniMax H3 3D / 2D
-
[H3剑心比赛] CMP 170HX 单卡 · 3D CGI / 2D 动画 双版本
一、作品链接
- 3D CGI 版:https://www.youtube.com/watch?v=2ZFGO4GpTLA
- 2D 动画版:`https://youtu.be/X9gFSIH-oHQ
本地文件:
H3剑心_3DCGI_1344x768_12.25s.mp4(10,664,860 字节)H3剑心_2D动画_1344x768_12.25s.mp4(10,279,151 字节)
二、硬件配置(照实,截图见
证据截图/01_硬件配置.png与02_nvidia-smi完整.png)项 值 GPU NVIDIA CMP 170HX ×1(64GB HBM2E,Ampere GA100, 计算能力 sm_80((8, 0)),与 A100 同代 显存占用峰值 61,574 MiB / 65,536 MiB(93.9%) GPU 温度峰值 81 °C(GPU1 那条)/ 75 °C(GPU3 那条) 驱动 / CUDA 615.71.09 / CUDA 13.2 CPU 2× Intel Xeon E5-2680 v3 @ 2.50GHz(48 线程) 内存 62 GiB(渲染期间已用 55 GiB) 系统 Ubuntu 24.04.5 LTS,内核 7.0.0-31-generic 说明:两条片子分别跑在两张同型号 CMP 170HX 上(互不干扰),所以下表两条的耗时都是单卡独占测得的,不是一张卡跑完一条再跑另一条。
三、规格核对
项目 比赛要求 实际 模型 MiniMax H3
Ref2VA INT8分辨率 1344×768
1344×768时长 12 秒
294 帧 / 12.250 s(24fps)参考图 提供的 6 张
6 张全部挂载风格 3D CGI / 2D 各一 
关于 12 秒的说明:H3 的
length参数步长固定为 17,即合法帧数为5 + 17n。24fps 下:- 277 帧 = 11.542 s(不足 12 秒)
- 294 帧 = 12.250 s ← 采用
因 288 帧(严格 12.000 s)在该模型上不存在,按"不找理由辩解、留出边界"的规则向上取到 294 帧,保证不少于 12 秒。
四、工作流
工作流 JSON(API 格式,可直接提交到 ComfyUI
/prompt):workflow_jx_3d_api.jsonworkflow_jx_2d_api.json
节点链:
UNETLoader(minimax_h3_ref2va_pruned_int8_convrot) └─ LoraLoaderModelOnly(pika_h3_flex_ref2va_v1_bf16, strength 1.0) └─ BasicGuider ◄─ MiniMaxH3ReferenceToVideo ◄─ CLIPLoader(qwen3vl_32b ... int8) └─ VAELoader(video fp16) / VAELoader(audio fp32) └─ LoadImage ×6 (ref_image_0..5) └─ SamplerCustomAdvanced(RandomNoise / KSamplerSelect=lcm / ManualSigmas) └─ VAEDecode ─┐ └─ VAEDecodeAudio ─┴─ CreateVideo(fps 24) ─ SaveVideo关键参数:
参数 值 sampler lcmsigmas 1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0.0(6 步)ref_image_size matchref_images 6 张 seed (3D) 294307898 seed (2D) 1406153983 五、加速手段(实测,截图见
证据截图/09_加速手段实测.png)先说结论:本条片子没有用 SageAttention / FlashAttention / xformers 中的任何一个。
在 ComfyUI 的 venv(
/models/comfyui-venv-cu130/bin/python)里实测pip list | grep -iE 'sage|flash|xformers'返回空 —— 这几个包根本没装。ComfyUI 启动参数也只有--listen 0.0.0.0 --port 8188,没有任何加速开关。实际生效的“加速”只有下面这些,全部属于量化与采样层面,不属于 Attention 内核优化:
手段 具体配置 作用 INT8 量化 UNet minimax_h3_ref2va_pruned_int8_convrot.safetensors(20.97 GB)显存与带宽减半 INT8 文本编码器 qwen3vl_32b_h3_ultra_uncensored_heretic_int8_convrot同上 6 步 LCM 采样 sampler=lcm+ 手动 sigma 表1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0.0步数从常规几十步压到 6 步,这是最大的提速来源 ref_image_size match(未用max)max保真更高但慢数倍,本片没用未做的事(避免被误解为“特调环境”):
- 没有用任何分辨率特调,直接用节点默认的 1344×768
- 没有 draft 低分辨率再放大
- 没有装 H3-Optimizations 的 Sparse Attention 节点(插件已装,本工作流未接入)
环境版本:
torch 2.15.0+cu132/triton 3.9.0/ComfyUI 0.45.0/ 计算能力(8, 0)(Ampere GA100,与 A100 同代 sm_80)。六、运行时间(截图见
证据截图/03_04_07_)ComfyUI 自己打出的
Prompt executed in ...原文:2D (GPU3 :8188) 13:11:21 got prompt → 13:24:37 [INFO] Prompt executed in 00:13:16 3D (GPU1 :8191) 13:11:21 got prompt → 13:24:28 [INFO] Prompt executed in 00:13:07版本 GPU 耗时 平均每帧 3D CGI GPU1 (8191) 787.2 秒(13 分 07 秒) 2.68 s/帧 2D 动画 GPU3 (8188) 796.0 秒(13 分 16 秒) 2.71 s/帧 两条并行跑,墙钟总耗时 757 秒。
渲染期间 GPU 持续 100% 占用、显存 61,574 MiB 不动、温度从 54 °C 升到 81 °C,无 OOM、无降频报错(见
07_渲染期间GPU监控.png)。七、提示词
比赛指定正文逐字保留,仅按模板切换开头风格那一句,并在前面加了一段参考图→角色的映射说明(因为提供的 6 张图是 2D 原画 + 3D 手办的混合素材,不给映射模型容易串角色或把画面变成灰底棚拍)。
[Reference images] <Picture 1>, <Picture 2>, <Picture 3> are the red-clad swordsman Jianxin: long red hair tied in a high ponytail, red kimono jacket with wide sleeves, white hakama, katana. <Picture 3> shows his three-dimensional figure build. <Picture 4>, <Picture 5>, <Picture 6> are the purple-robed warrior Zhizhixiong: body wrapped entirely in white bandages, black spiked headpiece, purple robe, black gloves and boots, katana, flame in the left hand. <Picture 4> and <Picture 6> show his three-dimensional figure build. Follow the costumes, hair, weapons and body proportions of these references exactly. Do not copy their plain studio backgrounds; the scene background is the dramatic environment described below. (Style: 3D CGI animation) ← 2D 版此处为 (Style: 2D traditional anime) Masterpiece, high quality, cinematic lighting. Subject: A fierce battle sequence featuring two characters based on the reference images—a red-clad swordsman (Jianxin) and a purple-robed warrior (Zhizhixiong). Action: The camera begins with a dynamic low-angle tracking shot. ... (以下与比赛原文完全一致)八、输出规格实测
Stream #0:0 Video: h264, 1344x768, 24 fps, 294 frames Stream #0:1 Audio: aac, 32000 Hz, stereo duration = 12.250000音量:3D 版 mean -18.0 dB / max -0.5 dB;2D 版 mean -20.0 dB / max -0.6 dB(H3 原生音轨,未做任何替换或后期)。2d截图






3d截图






图片地址)
工作流summary.json workflow_jx_2d_api.json workflow_jx_3d_api.json



运行日志

-
,
顾 顾新兵 引用了 此主题
-
-
-
-