mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add r-safetensors.
* gnu/packages/cran.scm (r-safetensors): New variable. Change-Id: I40bcee87cdbba9776f3448a2567f94ebb1e652b9
This commit is contained in:
parent
5654f61541
commit
745edcc4c0
1 changed files with 23 additions and 0 deletions
|
@ -4670,6 +4670,29 @@ (define-public r-jqr
|
|||
conditionals and comparisons, and more.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public r-safetensors
|
||||
(package
|
||||
(name "r-safetensors")
|
||||
(version "0.1.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (cran-uri "safetensors" version))
|
||||
(sha256
|
||||
(base32 "0xvg5y2sd7gzcal0qqgxbx8vcvmy50jm0j2ajr8iw3wyy5qpyvkp"))))
|
||||
(properties `((upstream-name . "safetensors")))
|
||||
(build-system r-build-system)
|
||||
(propagated-inputs (list r-cli r-jsonlite r-r6 r-rlang))
|
||||
(home-page "https://github.com/mlverse/safetensors")
|
||||
(synopsis "Safetensors file format")
|
||||
(description
|
||||
"This package provides a file format for storing tensors that is
|
||||
secure (doesn't allow for code execution), fast and simple to implement.
|
||||
@code{safetensors} also enables cross language and cross frameworks
|
||||
compatibility making it an ideal format for storing machine learning model
|
||||
weights.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public r-sass
|
||||
(package
|
||||
(name "r-sass")
|
||||
|
|
Loading…
Reference in a new issue