[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/70: gnu: Add r-safetensors.
From: |
guix-commits |
Subject: |
04/70: gnu: Add r-safetensors. |
Date: |
Thu, 28 Dec 2023 03:35:42 -0500 (EST) |
rekado pushed a commit to branch r-updates
in repository guix.
commit 38404e9b37cdd80a661f83adc7f56f44dcdb42cf
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Dec 27 15:58:51 2023 +0100
gnu: Add r-safetensors.
* gnu/packages/cran.scm (r-safetensors): New variable.
Change-Id: I40bcee87cdbba9776f3448a2567f94ebb1e652b9
---
gnu/packages/cran.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 453ca4c11b..49b9ed3627 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4670,6 +4670,29 @@ calculations, cut up and filter, change key names and
values, perform
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")
- branch r-updates created (now 6ee6a4cfb5), guix-commits, 2023/12/28
- 01/70: gnu: r-littler: Update to 0.3.19., guix-commits, 2023/12/28
- 03/70: gnu: Add xnnpack-for-torch2., guix-commits, 2023/12/28
- 02/70: gnu: r-rmpi: Update to 0.7-2., guix-commits, 2023/12/28
- 04/70: gnu: Add r-safetensors.,
guix-commits <=
- 05/70: gnu: python-protobuf: Update to 3.20.2., guix-commits, 2023/12/28
- 10/70: gnu: r-torch: Update to 0.12.0., guix-commits, 2023/12/28
- 09/70: gnu: liblantern: Update to 0.11.0-1.4d83bd0., guix-commits, 2023/12/28
- 11/70: gnu: r-shiny: Update to 1.8.0., guix-commits, 2023/12/28
- 23/70: gnu: r-timedate: Update to 4032.109., guix-commits, 2023/12/28
- 20/70: gnu: r-maps: Update to 3.4.2., guix-commits, 2023/12/28
- 16/70: gnu: r-aod: Update to 1.3.3., guix-commits, 2023/12/28
- 14/70: gnu: r-ggvenndiagram: Update to 1.4.9., guix-commits, 2023/12/28
- 26/70: gnu: r-ucminf: Update to 1.2.1., guix-commits, 2023/12/28
- 08/70: gnu: python-pytorch-for-r-torch: Update to 2.0.1., guix-commits, 2023/12/28