Changelog
Source:NEWS.md
safetensors 0.3.0
Added support for reading and writing
F8_E4M3andF8_E5M2tensors with torch. (#13, 1)-
Fixed reading and writing tensors with empty names. Because
x[[""]]returnsNULLfor a named R list, access these tensors by position. (#10, -
Fixed reading and writing tensors at offsets larger than 2 GB. (#14,
Fixed writing
bfloat16tensors. (#11, 1)
safetensors 0.2.0
CRAN release: 2025-08-18
-
Refactored the package so other packages can extend it. This is possible by:
- Implementing the
safe_tensor_bufferandsafe_tensor_metamethods. - Registering the framework with the reflection
safetensors_frameworks.
- Implementing the
safe_load_fileno longer defines a default framework. Setframework='torch'to get the previous behavior. # safetensors 0.1.2Added support for BF16 data types.
safetensors 0.1.1
CRAN release: 2023-07-10
- Added a
NEWS.mdfile to track changes to the package. - Copy tensors to cpu before proceeding with serialization. (#2)