Skip to content

Releases: huggingface/safetensors

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.

Python-v0.2.0

29 Sep 13:33
8e5b229
Compare
Choose a tag to compare

Added safe_open.
Added __metadata__ special key in the format (ability to store layout information that could be useful to transformers.)
Removed some API surface.
Cleaned up TF to be actually TF and not jax anymore.

Very shallow changelog, this is still a lot in exploration mode.

Python v0.0.1

23 Sep 09:58
5874d0e
Compare
Choose a tag to compare

Initial release with barebone features just to get a PoC running.

Main features missing:

  • Lazy loading
  • DOS protection.