From b032109b5c522505bbadbec82499e9dadfdbc9e6 Mon Sep 17 00:00:00 2001 From: David Elsing Date: Sat, 23 Mar 2024 22:05:01 +0000 Subject: [PATCH] gnu: Add ideep-pytorch. * gnu/packages/machine-learning.scm (ideep-pytorch): New variable. --- gnu/packages/machine-learning.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index deb2974e2e..6c17481131 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -52,6 +52,7 @@ #:use-module (guix download) #:use-module (guix svn-download) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system ocaml) #:use-module (guix build-system pyproject) @@ -4264,6 +4265,31 @@ API for loading and executing ONNX graphs on optimized backends. This package contains facebook extensions and is used by PyTorch.") (license license:expat)))) +(define-public ideep-pytorch + (package + (name "ideep-pytorch") + (version "3.3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/intel/ideep") + (commit (string-append "pytorch-rls-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y6r938qryi3bnf15rp0fbilsfimdcgmvsa0ygwrn3zifw6386rb")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + ''(("include" "include")))) + (home-page "https://github.com/intel/ideep") + (synopsis "Ideep headers for interal use by PyTorch") + (description "This library is used internally as header-only library by +PyTorch.") + (license license:expat))) + ;; Please also update python-torchvision when updating this package. (define-public python-pytorch (package