Skip to content

Releases: aaalll12322/ComfyUI-MiniMaxH3-SolAttn-V100

v1.2.1 — Linux 支持(Linux support)

Choose a tag to compare

@aaalll12322 aaalll12322 released this 27 Aug 14:53

v1.2.1 — Linux 支持

  • 新增 native/setup_linux.py:Linux 编译入口(GCC + 自动 strip,产物 ~1MB)
  • kernel 加载按平台匹配 .pyd(Windows)/ .so(Linux)
  • 验证脚本整理至 verify/
  • WSL2 + V100 真机验证通过

附件:

  • comfy_v100_solattn_cuda.cp312-win_amd64.pyd(Windows + Python 3.12)
  • comfy_v100_solattn_cuda.cpython-312-x86_64-linux-gnu.so(Linux + Python 3.12)

v1.1.1

Choose a tag to compare

@aaalll12322 aaalll12322 released this 21 Aug 17:24

更新内容

  • 路由性能:去每层 GPU→CPU 同步(不再打断 LOW_VRAM 权重预取流水线)、rank int32、off 显存减半、块统计视图化(零 F.pad/float 拷贝)——S=98512 路由 182→35.6ms,S=174112 不再 OOM
  • 质量修复 top-K 保底(新参数 topk_blocks,默认 32):Sol-Attn 阈值路由是"均值对齐检测",高动态/新内容块会被过滤(v1.0 在手/边缘/肢体动态帧丢失)——top-K 每行强制保留分数最高 K 块,真实激活 rel 0.1157→0.0619(-47%)
  • 默认配置改为推荐值:tau=0.75, end_percent=0.9, dense_blocks="0-1,-1", h3_prefix_tokens=1024, topk_blocks=32
  • prefix debug:控制台打印 [SolAttn] S=... 密度=... prefix_tokens=...(用于确认 h3_prefix_tokens 是否覆盖 text+cond+ref+audio 实际前缀)

实测(V100 真机,用户 ComfyUI)

方案 s/步 备注
纯 FP16Safe(dense) 33(960×544/5s) 基线
Sol-Attn v1.1.1 24(960×544/5s) +27% 加速,质量肉眼≈dense
Sol-Attn v1.1.1 42(480p/10s,S≈98512) tau=0.75
  • 质量对比视频见仓库 README(videos/ 目录,同提示词同种子:稀疏 vs dense)
  • 画质判定:top-K 保底解决了 v1.0 在高动态/快速切镜/大量文字/复杂动作下的手部与边缘细节丢失

说明

  • 纯 Python 改动,kernel 未重编译:pyd 与 v1.0.0 相同(sha256 1518648115fa4c527a541ba996c59e0c5ff4c33bbca0ece82d4d56ea367c9f87),从 v1.0.0 Release 下载即可
  • Source code (zip)/(tar.gz) 为 GitHub 自动生成

v1.0.0

Choose a tag to compare

@aaalll12322 aaalll12322 released this 20 Aug 14:19

Sol-Attn (V100) - MiniMax H3 single-node attention acceleration plugin, official release

  • 480p/10s measured 43 s/step (~1.7x vs pure FP16Safe 71-74s), no visible quality loss
  • Prebuilt kernel (Windows + Python 3.12): comfy_v100_solattn_cuda.cp312-win_amd64.pyd
  • Other platforms / Python versions: clone source, cd native && python setup.py build_ext --inplace
  • Full source in native/ (incl. CUTLASS), no opaque binaries