Sat, 21 Nov 2026 05:20:37 UTC Log in
Functions for safer PyTorch safetensors read/write operations 34.34 KB built 2026-10-21 09:33:25 GMT

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. This package contains library source intended for building other packages which use the "safetensors" crate.

Dependencies

18 total
Requires15
  • (crate(hashbrown/default) >= 0.16.0 with crate(hashbrown/default) < 0.17.0~)
  • (crate(hashbrown/serde) >= 0.16.0 with crate(hashbrown/serde) < 0.17.0~)
  • (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0~)
  • (crate(serde/alloc) >= 1.0.0 with crate(serde/alloc) < 2.0.0~)
  • (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0~)
  • (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0~)
  • (crate(serde_json/alloc) >= 1.0.0 with crate(serde_json/alloc) < 2.0.0~)
  • cargo
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
  • rpmlib(RichDependencies) <= 4.12.0-1
  • rpmlib(TildeInVersions) <= 4.10.0-1
  • rust >= 1.80
Provides3
  • crate(safetensors) = 0.8.0
  • purl(pkg:cargo/safetensors@0.8.0)
  • rust-safetensors-devel = 0.8.0-2.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

11
Files 1–11 of 11

Component of

buildroots that installed this RPM

No Buildroots