Crates.io | pystse-safetensors |
lib.rs | pystse-safetensors |
version | 0.0.1 |
source | src |
created_at | 2024-04-23 13:11:41.573356 |
updated_at | 2024-04-23 13:11:41.573356 |
description | 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. |
homepage | https://gitee.com/xiatian0716/safetensors |
repository | https://gitee.com/xiatian0716/safetensors |
max_upload_size | |
id | 1217529 |
size | 65,964 |
参见 Pystse