Functions for safer PyTorch safetensors read/write operations
Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file. This package contains library source intended for building other packages which use the "alloc" feature of the "safetensors" crate.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.5.2-1.fc43 | - |
You can contact the maintainers of this package via email at
rust-safetensors dash maintainers at fedoraproject dot org
.