Skip to content

Releases: huggingface/safetensors

Python v0.2.8

16 Jan 12:43
02e5707
Compare
Choose a tag to compare

What's Changed

  • Fixing torch version parsing. by @Narsil in #143
  • Updating rust ergonomics. by @Narsil in #144
  • Preparing next version. by @Narsil in #158
  • Fix byte order detection for np.uint8 and other types for which byte order is not defined. by @Narsil in #160

Full Changelog: python-v0.2.7...python-v0.2.8

Rust 0.2.7

27 Dec 09:16
ba8de5f
Compare
Choose a tag to compare
  • Fixing SAFETENSORS_FAST_GPU=1 on Windows : #140

Python v0.2.7

27 Dec 09:15
ba8de5f
Compare
Choose a tag to compare
  • Fixing SAFETENSORS_FAST_GPU=1 on Windows : #140

Rust 0.2.6

13 Dec 13:50
706d70a
Compare
Choose a tag to compare

First Rust release.

Python v0.2.6

13 Dec 13:49
706d70a
Compare
Choose a tag to compare
  • Python 3.11 Linux support.

Python v0.2.5

23 Nov 19:58
f4f1cfa
Compare
Choose a tag to compare
  • [#102] Hotfix for Windows i32 overflow within PyO3
  • Some quality of life (better error messages, improved convert.py to be more general.
  • Python 3.11 prebuilt binary

Python 0.2.4

07 Nov 08:44
764ff0f
Compare
Choose a tag to compare

Fast CPU load on Pytorch
Fast GPU load on Python (unsafe, need to use SAFETENSORS_FAST_GPU=1 environement variable to use.

Python v0.2.3

27 Oct 16:30
bb05b52
Compare
Choose a tag to compare

Remove importib. This was bogus and it crashes on Python2.7.

Python v0.2.2

26 Oct 17:12
29fe1e3
Compare
Choose a tag to compare
  • Adding device argument to safe_open to reduce overhead of sending tensors to GPU.

Python v0.2.1

30 Sep 11:48
Compare
Choose a tag to compare

math.prod is not supported for Python < 3.8. Putting back np.prod in there.