summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-08-25 15:35:43 +0200
committerCayetano Santos <csantosb@inventati.org>2026-08-25 15:37:20 +0200
commitdf854574b0e2ec021dcd94cd3784b51c2ba7e4c2 (patch)
tree7c489197727644f11c824d3938598ae9aed220ee
parentd47ce549247b5552738ddff74146c50c8563ec2d (diff)
gnu: stable-diffusion-cpp: Update to 827-97d2990.
* gnu/packages/machine-learning.scm (stable-diffusion-cpp): Update to 827-97d2990. [arguments]: Adapt #:configure-flags. [inputs]: Remove ggml-for-stable-diffusion.
-rw-r--r--gnu/packages/machine-learning.scm11
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 6b5f8d038e2..aa650babfdd 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1390,33 +1390,30 @@ depend on language-specific pre- or post-processing.")
1390(define-public stable-diffusion-cpp 1390(define-public stable-diffusion-cpp
1391 (package 1391 (package
1392 (name "stable-diffusion-cpp") 1392 (name "stable-diffusion-cpp")
1393 (version "608-38b14ad") 1393 (version "827-97d2990")
1394 (source 1394 (source
1395 (origin 1395 (origin
1396 (method git-fetch) 1396 (method git-fetch)
1397 (uri (git-reference 1397 (uri (git-reference
1398 (url "https://github.com/leejet/stable-diffusion.cpp") 1398 (url "https://github.com/leejet/stable-diffusion.cpp")
1399 (commit (string-append "master-" version)) 1399 (commit (string-append "master-" version))
1400 ;; for libwebm 1.0.0, libwepb 1.6.0 1400 ;; For libwebm 1.0.0, libwepb 1.6.0, and custom fork of ggml.
1401 (recursive? #t))) 1401 (recursive? #t)))
1402 (file-name (git-file-name name version)) 1402 (file-name (git-file-name name version))
1403 (sha256 1403 (sha256
1404 (base32 "0yirchx3xsipdc6ncfjlckcra6zv06ilzlcrc8mcap2a2gvwbkzr")))) 1404 (base32 "1p9b8jvqsxd0dn8ccn0zhxs9nwqx3l20qbp9ybg2dirpja4i0xfm"))))
1405 (build-system cmake-build-system) 1405 (build-system cmake-build-system)
1406 (arguments 1406 (arguments
1407 (list 1407 (list
1408 #:tests? #f ;no tests 1408 #:tests? #f ;no tests
1409 ;; see docs/build.md 1409 ;; see docs/build.md
1410 #:configure-flags 1410 #:configure-flags
1411 #~(list "-DSD_BUILD_SHARED_LIBS=ON" 1411 #~(list "-DSD_BUILD_SHARED_LIBS=ON")
1412 "-DSD_USE_SYSTEM_GGML=ON")
1413 #:phases 1412 #:phases
1414 #~(modify-phases %standard-phases 1413 #~(modify-phases %standard-phases
1415 (add-before 'configure 'set-CXXFLAGS 1414 (add-before 'configure 'set-CXXFLAGS
1416 (lambda _ 1415 (lambda _
1417 (setenv "CXXFLAGS" "-DGGML_MAX_NAME=128")))))) 1416 (setenv "CXXFLAGS" "-DGGML_MAX_NAME=128"))))))
1418 (inputs
1419 (list ggml-for-stable-diffusion))
1420 (properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available 1417 (properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available
1421 (home-page "https://github.com/leejet/stable-diffusion.cpp") 1418 (home-page "https://github.com/leejet/stable-diffusion.cpp")
1422 (synopsis "Diffusion model inference in pure C/C++") 1419 (synopsis "Diffusion model inference in pure C/C++")