mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: Remove oneapi-dnnl.
Replaced by onednn in (gnu packages oneapi). * gnu/packages/oneapi.scm (oneapi-dnnl): Define as the deprecated version of onednn. * gnu/packages/machine-learning.scm (oneapi-dnnl): Delete variable. * gnu/packages/machine-learning.scm (python-pytorch)[native-inputs]: Remove oneapi-dnnl; add onednn. * gnu/packages/machine-learning.scm (python-torchaudio)[native-inputs]: Remove oneapi-dnnl; add onednn. Change-Id: Ied9ff943607423c46963ddd55b78c687f5561f64
This commit is contained in:
parent
6bcf64a561
commit
1186fb3657
2 changed files with 4 additions and 63 deletions
|
|
@ -4850,7 +4850,7 @@ PyTorch.")
|
||||||
googlebenchmark
|
googlebenchmark
|
||||||
libuv
|
libuv
|
||||||
miniz-for-pytorch
|
miniz-for-pytorch
|
||||||
oneapi-dnnl
|
onednn
|
||||||
openblas
|
openblas
|
||||||
openmpi
|
openmpi
|
||||||
openssl ; for cpp-httplib
|
openssl ; for cpp-httplib
|
||||||
|
|
@ -4977,7 +4977,7 @@ test/torchaudio_unittest/prototype/hifi_gan/hifi_gan_gpu_test.py"
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list cmake
|
(list cmake
|
||||||
ninja
|
ninja
|
||||||
oneapi-dnnl
|
onednn
|
||||||
python-expecttest
|
python-expecttest
|
||||||
python-parameterized
|
python-parameterized
|
||||||
python-pytest
|
python-pytest
|
||||||
|
|
@ -6489,67 +6489,6 @@ easily extensible.")
|
||||||
Brian 2 simulator.")
|
Brian 2 simulator.")
|
||||||
(license license:cecill)))
|
(license license:cecill)))
|
||||||
|
|
||||||
(define-public oneapi-dnnl
|
|
||||||
(package
|
|
||||||
(name "oneapi-dnnl")
|
|
||||||
(version "3.5.3")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/oneapi-src/oneDNN")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32 "1m2d7qlbfk86rmvmpvx2k3rc2k0l9hf9qpa54jl44670ls9n8i7w"))
|
|
||||||
(modules '((guix build utils)
|
|
||||||
(ice-9 rdelim)))
|
|
||||||
;; Copyright date used by code generation script
|
|
||||||
(snippet
|
|
||||||
'(for-each
|
|
||||||
(lambda (file)
|
|
||||||
(with-atomic-file-replacement
|
|
||||||
file
|
|
||||||
(lambda (in out)
|
|
||||||
(let loop ((line (read-line in 'concat)))
|
|
||||||
(if (string-contains line "Copyright")
|
|
||||||
(display line out)
|
|
||||||
(loop (read-line in 'concat)))))))
|
|
||||||
'("include/oneapi/dnnl/dnnl_debug.h"
|
|
||||||
"src/common/dnnl_debug_autogenerated.cpp"
|
|
||||||
"tests/benchdnn/dnnl_debug_autogenerated.cpp"
|
|
||||||
"tests/benchdnn/dnnl_debug.hpp")))))
|
|
||||||
(build-system cmake-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:configure-flags
|
|
||||||
`(list
|
|
||||||
,@(if (target-riscv64?)
|
|
||||||
(list #:configure-flags '("-DDNNL_CPU_RUNTIME=SEQ"))
|
|
||||||
'())
|
|
||||||
;; Used in PyTorch
|
|
||||||
"-DDNNL_EXPERIMENTAL_UKERNEL=ON")
|
|
||||||
#:phases
|
|
||||||
'(modify-phases %standard-phases
|
|
||||||
(add-after 'configure 'codegen
|
|
||||||
(lambda _
|
|
||||||
(with-directory-excursion "../source"
|
|
||||||
(invoke "castxml" "--castxml-cc-gnu-c" "clang"
|
|
||||||
"--castxml-output=1" "-DDNNL_EXPERIMENTAL_SPARSE"
|
|
||||||
"-Iinclude" "-I../build/include"
|
|
||||||
"include/oneapi/dnnl/dnnl_types.h" "-o" "types.xml")
|
|
||||||
(invoke "python3" "scripts/generate_dnnl_debug.py" "types.xml")
|
|
||||||
;; Modifies include/oneapi/dnnl/dnnl.hpp
|
|
||||||
(invoke "python3" "scripts/generate_format_tags.py")))))))
|
|
||||||
(native-inputs (list castxml clang-17 python))
|
|
||||||
(home-page "https://github.com/oneapi-src/oneDNN")
|
|
||||||
(synopsis "Deep Neural Network Library")
|
|
||||||
(description
|
|
||||||
"OneAPI Deep Neural Network Library (oneDNN) is a cross-platform
|
|
||||||
performance library of basic building blocks for deep learning applications.")
|
|
||||||
(supported-systems %64bit-supported-systems)
|
|
||||||
(license license:asl2.0)))
|
|
||||||
|
|
||||||
(define-public python-gguf
|
(define-public python-gguf
|
||||||
(package
|
(package
|
||||||
(name "python-gguf")
|
(name "python-gguf")
|
||||||
|
|
|
||||||
|
|
@ -104,6 +104,8 @@ performance library of basic building blocks for deep learning applications.")
|
||||||
(supported-systems %64bit-supported-systems)
|
(supported-systems %64bit-supported-systems)
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public oneapi-dnnl (deprecated-package "oneapi-dnnl" onednn))
|
||||||
|
|
||||||
;;; Updates and replaces tbb in (gnu packages tbb)
|
;;; Updates and replaces tbb in (gnu packages tbb)
|
||||||
(define-public onetbb
|
(define-public onetbb
|
||||||
(package
|
(package
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue