mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-ctranslate2.
* gnu/packages/machine-learning.scm (python-ctranslate2): New variable. Co-authored-by: Nicolas Graves <ngraves@ngraves.fr> Change-Id: I91dde4a564502971a9e80f1e89179b2922a2721a
This commit is contained in:
parent
ef846411d5
commit
8a4a1fa928
1 changed files with 20 additions and 0 deletions
|
@ -6337,6 +6337,26 @@ reordering, etc., to accelerate and reduce the memory usage of Transformer
|
||||||
models on CPU and GPU.")
|
models on CPU and GPU.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-ctranslate2
|
||||||
|
(package/inherit ctranslate2
|
||||||
|
(name "python-ctranslate2")
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
;; XXX: tests require the eole python project.
|
||||||
|
#:tests? #f
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'cd-to-build-dir
|
||||||
|
(lambda _
|
||||||
|
(chdir "python"))))))
|
||||||
|
(native-inputs (list ctranslate2
|
||||||
|
python-setuptools
|
||||||
|
python-wheel
|
||||||
|
pybind11-2.10
|
||||||
|
python-pyyaml
|
||||||
|
python-numpy))))
|
||||||
|
|
||||||
(define-public python-hmmlearn
|
(define-public python-hmmlearn
|
||||||
(package
|
(package
|
||||||
(name "python-hmmlearn")
|
(name "python-hmmlearn")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue