Repository navigation
生图引擎 1(Windows x64 · Vulkan)
生图引擎 1(Windows x64 · Vulkan)
“AI 封面”使用的本地生图引擎。它是在 stable-diffusion.cpp 1b0ba10 的基础上加了一个补丁编译而成。
这不是 EdgeNovel 应用本身的版本,普通读者不需要单独下载它。
为什么要改引擎
原版引擎会把卷积层原样保留为 F16,所以 Q5 量化后的 SD1.5 模型仍有 1.44GB。补丁让这部分也能量化,同一个模型因此缩小到 0.70GB,画质不变。用这个引擎转换出的模型,原版引擎读不了。
内容
sd-cli-windows-x64-vulkan.zip 包含:
sd-cli.exe:单个文件,已内置 C++ 运行库,不需要另外安装。有显卡时用 Vulkan,没有显卡时用 CPU。sdcpp-quantized-conv.patch:补丁源码。LICENSE和THIRD_PARTY_NOTICES.txt:许可证。
配套模型在 ianhaimo/edgenovel-anime-cover。
实测(RTX 4060 Laptop,512×768,4 步)
- 约 3 秒一张。
- 显存峰值约 1.1GB(分块解码)。
- 与上一版编译的输出逐字节相同,GPU 和 CPU 都已验证。
The image engine behind EdgeNovel's AI cover feature. It is
stable-diffusion.cpp 1b0ba10 (ggml d25b121) plus a patch that stores 3×3
convolution kernels as quantizable matrices. With it, the Q5 SD 1.5 cover model
is 0.70 GB instead of 1.44 GB. GGUF files converted by this build only load in
this build. Older GGUFs and safetensors load as before.
Windows x64, Vulkan with CPU fallback. The MSVC runtime is linked in, so no
redistributable is needed.
The zip holds the executable, the patch, the MIT licence and the third-party
notices. The model is at
https://huggingface.co/ianhaimo/edgenovel-anime-cover.