


























usr/lib/cmake probably could be removed as well, since this package isn't providing ggml.
I removed the mv sd.. line in package fn. Found few more .a files. I think they can be rmed as well.
[builder@225a204de633 w]$ du -sh pkg/stable-diffusion.cpp-vulkan-git/usr/lib/*
16K pkg/stable-diffusion.cpp-vulkan-git/usr/lib/cmake
800K pkg/stable-diffusion.cpp-vulkan-git/usr/lib/libggml-base.a
972K pkg/stable-diffusion.cpp-vulkan-git/usr/lib/libggml-cpu.a
56M pkg/stable-diffusion.cpp-vulkan-git/usr/lib/libggml-vulkan.a
76M pkg/stable-diffusion.cpp-vulkan-git/usr/lib/libstable-diffusion.so
The binary was only renamed because of a naming conflict, so no need to do this anymore.
PKGBUILD needs to be updated with the new binary name at line 70
mv "$pkgdir/usr/bin/sd-cli" "$pkgdir/usr/bin/stable-diffusion"
(Apparently diff syntax doesn't work in comments, sorry)
The binary doesn't need to be renamed anymore, it is now sd-cli by default as of #1037.
Thanks for maintaining this package! Just wanted to note that you don't need to bump the pkgver with every commit, the Wiki even discourages it.
Hi @gwuensch, thanks for the heads up. I wasn't aware of that. I'll revert back to updating it once a week at most.
Thanks for maintaining this package! Just wanted to note that you don't need to bump the pkgver with every commit, the Wiki even discourages it.
@Pyblo, thanks for bring this to my attention. I've changed the executable name to stable-diffusion. Let me know if you have any issues installing or using it.
There's also an open issue for this on the GitHub repo, so I may eventually have to make another update if the upstream decides to change the binary name to something else: https://github.com/leejet/stable-diffusion.cpp/issues/750
There is also a big problem with name... It tries to install as sd which generally collides with another application: https://github.com/chmln/sd.
It's a very popular and often preinstalled app. Would be better to give it a full name.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
I have cleaned up the PKGBUILD, what remains to be done is start building the integrated web UI. I'll add this soon.