Downloads · 30 days
0
xxzigou/seedVR2-ncnn-fp16
seedVR2-ncnn-fp16 is a machine learning model from xxzigou. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
ByteDance SeedVR2 的 NaDiT(2B)扩散 Transformer,在 ncnn + 自研 Vulkan compute shader 下的 C++ 推理权重(float16 计算精度版)。
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2026
Repo size
18.8 GB
Likes
0
Public
Click a slice to open those files.
.bin18.8 GB · 100%
From the Hugging Face model README
ByteDance SeedVR2 的 NaDiT(2B)扩散 Transformer,在 ncnn + 自研 Vulkan compute shader 下的 C++ 推理权重(float16 计算精度版)。
配套代码 → AiChiTuDouPian/SeedVR2-2b-ncnn
本仓库是三种精度里最不推荐的一个:
⇒ 除非你在做精度对比实验,否则请用
seedVR2-ncnn-bf16(推荐,cos ≥ 0.9993)
或 SeedVR2-2b-NCNN(fp32 基准)。
models/
├── m5/ # DiT 逐层权重(849 文件)+ 自定义 Vulkan shader(*.spv,必需)
├── m6_vae/ # VAE encoder / decoder 权重
└── m5_graph/ # 合并计算图权重块(fp16):dit_block_f16_0..31.{bin,param}
# chunk=1,每块 1 层,共 32 块
models/m5是三种精度共用的基础权重;文件名里的精度指计算精度而非存储格式 (dit_block_f16_*的权重确实是 fp16 存储,而dit_block_bf16_*反而是 fp32 存储)。
git clone https://github.com/AiChiTuDouPian/SeedVR2-2b-ncnn
cd SeedVR2-2b-ncnn
# 下载权重(约 17.5 GB)
hf download xxzigou/seedVR2-ncnn-fp16 --local-dir .
# 推理(--fp16 开启低精度路径)
./build-cmake/seedvr2_run.exe input.png output.png --resolution 1080 --fp16
| 配置 | DiT 耗时 | 出图质量(vs fp32) |
|---|---|---|
| fp16 + 合并图 chunk=1(本仓库) | ~105 s | PSNR 31 dB(少数像素高误差) |
| bf16 + 合并图 chunk=1 | ~106 s | PSNR 48 dB |
本仓库以 MIT 发布;模型权重源自 ByteDance SeedVR2,请同时遵循其原始许可。