From c64e503f3680a33a948b398b0790b3f35e6acc2e Mon Sep 17 00:00:00 2001 From: hashirama Date: Sun, 22 Sep 2024 12:03:47 -0400 Subject: [PATCH] add ncnn --- ajatt/packages/deep-learning.scm | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ajatt/packages/deep-learning.scm diff --git a/ajatt/packages/deep-learning.scm b/ajatt/packages/deep-learning.scm new file mode 100644 index 0000000..0316053 --- /dev/null +++ b/ajatt/packages/deep-learning.scm @@ -0,0 +1,41 @@ +(define-module (ajatt packages dictionaries) + #:use-module (gnu packages cmake) + #:use-module (gnu packages compression) + #:use-module (gnu packages version-control) + #:use-module (guix build-system cmake) + #:use-module (guix build-system gnu) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module ((guix licenses) #:prefix license:)) + + + + +(define-public ncnn + (package + (name "ncnn") + (version "20240820") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/Tencent/ncnn.git") + (commit "80c78a0e40d2c8843cdbb3917fd00387a0e33ce1"))) + (sha256 + (base32 "1ksqp7a7wbxsm8d7qpffxiifjrl3v10zqjy3b8mak00gcyjsfdv0")))) + (build-system cmake-build-system) + (arguments + (list #:cmake cmake + #:tests? #f )) + (synopsis "ncnn is a high-performance neural network inference framework optimized for the mobile platform.") + (description + "ncnn is a high-performance neural network inference computing framework optimized for mobile platforms. ncnn is deeply considerate about deployment and uses on mobile phones from the beginning of design. ncnn does not have third-party dependencies. It is cross-platform and runs faster than all known open-source frameworks on mobile phone cpu.") + (home-page "https://github.com/Tencent/ncnn") + (license + (list license:bsd-2 + license:zlib)))) + +ncnn