safetensors: Safetensors File Format

A file format for storing tensors that is secure (doesn't allow for code execution), fast and simple to implement. 'safetensors' also enables cross language and cross frameworks compatibility making it an ideal format for storing machine learning model weights.

Version: 0.1.2
Imports: cli, jsonlite, R6, rlang
Suggests: testthat (≥ 3.0.0), torch (≥ 0.11.0)
Published: 2023-09-12
DOI: 10.32614/CRAN.package.safetensors
Author: Daniel Falbel [aut, cre], Posit [cph]
Maintainer: Daniel Falbel <daniel at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: safetensors results


Reference manual: safetensors.pdf


Package source: safetensors_0.1.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): safetensors_0.1.2.tgz, r-oldrel (arm64): safetensors_0.1.2.tgz, r-release (x86_64): safetensors_0.1.2.tgz, r-oldrel (x86_64): safetensors_0.1.2.tgz
Old sources: safetensors archive

Reverse dependencies:

Reverse imports: torch


Please use the canonical form to link to this page.