guix_mirror_bot pushed a commit to branch master
in repository guix.

commit eb541097d19a15c5184d5f94bc4a7d8f9b26b921
Author: David Elsing <[email protected]>
AuthorDate: Tue Feb 3 21:33:21 2026 +0100

    gnu: Add frugally-deep.
    
    * gnu/packages/machine-learning.scm (frugally-deep): New variable.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/machine-learning.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 89cc217c59..a7a4d77321 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6998,3 +6998,28 @@ add_subdirectory[(][.][.]/[.][.]/dlib/external/pybind11 
pybind11_build[)]")
            pybind11
            python-pytest
            python-setuptools))))
+
+;; Version 0.16 breaks miopen
+(define-public frugally-deep
+  (package
+    (name "frugally-deep")
+    (version "0.15.31")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/Dobiasd/frugally-deep";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0gzkv03kz9p94a9apmds77npvxhmqyahhah4bq5yz3v9pvw6kx10"))))
+    (build-system cmake-build-system)
+    ;; Tests require tensorflow
+    (arguments (list #:tests? #f))
+    (native-inputs (list eigen functionalplus nlohmann-json))
+    (home-page "https://github.com/Dobiasd/frugally-deep";)
+    (synopsis "Header-only library for using Keras (TensorFlow) models
+in C++")
+    (description "@code{frugally-deep} is a header-only C++ library for
+inference of Keras machine learning models on a single CPU core.")
+    (license license:expat)))

Reply via email to