safetensors 0.5.1__cp38-abi3-musllinux_1_2_aarch64.whl → 0.5.3__cp38-abi3-musllinux_1_2_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of safetensors might be problematic. Click here for more details.

safetensors/__init__.pyi CHANGED
@@ -69,7 +69,7 @@ class safe_open:
69
69
  The device on which you want the tensors.
70
70
  """
71
71
 
72
- def __init__(filename, framework, device=...):
72
+ def __init__(self, filename, framework, device=...):
73
73
  pass
74
74
  def __enter__(self):
75
75
  """
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: safetensors
3
- Version: 0.5.1
3
+ Version: 0.5.3
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Intended Audience :: Education
@@ -14,31 +14,31 @@ Classifier: Programming Language :: Python :: 3.9
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
16
16
  Classifier: Typing :: Typed
17
- Requires-Dist: numpy >=1.21.6 ; extra == 'numpy'
17
+ Requires-Dist: numpy>=1.21.6 ; extra == 'numpy'
18
18
  Requires-Dist: safetensors[numpy] ; extra == 'torch'
19
- Requires-Dist: torch >=1.10 ; extra == 'torch'
19
+ Requires-Dist: torch>=1.10 ; extra == 'torch'
20
20
  Requires-Dist: safetensors[numpy] ; extra == 'tensorflow'
21
- Requires-Dist: tensorflow >=2.11.0 ; extra == 'tensorflow'
21
+ Requires-Dist: tensorflow>=2.11.0 ; extra == 'tensorflow'
22
22
  Requires-Dist: safetensors[numpy] ; extra == 'pinned-tf'
23
- Requires-Dist: tensorflow ==2.18.0 ; extra == 'pinned-tf'
23
+ Requires-Dist: tensorflow==2.18.0 ; extra == 'pinned-tf'
24
24
  Requires-Dist: safetensors[numpy] ; extra == 'jax'
25
- Requires-Dist: flax >=0.6.3 ; extra == 'jax'
26
- Requires-Dist: jax >=0.3.25 ; extra == 'jax'
27
- Requires-Dist: jaxlib >=0.3.25 ; extra == 'jax'
28
- Requires-Dist: mlx >=0.0.9 ; extra == 'mlx'
25
+ Requires-Dist: flax>=0.6.3 ; extra == 'jax'
26
+ Requires-Dist: jax>=0.3.25 ; extra == 'jax'
27
+ Requires-Dist: jaxlib>=0.3.25 ; extra == 'jax'
28
+ Requires-Dist: mlx>=0.0.9 ; extra == 'mlx'
29
29
  Requires-Dist: safetensors[numpy] ; extra == 'paddlepaddle'
30
- Requires-Dist: paddlepaddle >=2.4.1 ; extra == 'paddlepaddle'
31
- Requires-Dist: black ==22.3 ; extra == 'quality'
32
- Requires-Dist: click ==8.0.4 ; extra == 'quality'
33
- Requires-Dist: isort >=5.5.4 ; extra == 'quality'
34
- Requires-Dist: flake8 >=3.8.3 ; extra == 'quality'
30
+ Requires-Dist: paddlepaddle>=2.4.1 ; extra == 'paddlepaddle'
31
+ Requires-Dist: black==22.3 ; extra == 'quality'
32
+ Requires-Dist: click==8.0.4 ; extra == 'quality'
33
+ Requires-Dist: isort>=5.5.4 ; extra == 'quality'
34
+ Requires-Dist: flake8>=3.8.3 ; extra == 'quality'
35
35
  Requires-Dist: safetensors[numpy] ; extra == 'testing'
36
- Requires-Dist: h5py >=3.7.0 ; extra == 'testing'
37
- Requires-Dist: huggingface-hub >=0.12.1 ; extra == 'testing'
38
- Requires-Dist: setuptools-rust >=1.5.2 ; extra == 'testing'
39
- Requires-Dist: pytest >=7.2.0 ; extra == 'testing'
40
- Requires-Dist: pytest-benchmark >=4.0.0 ; extra == 'testing'
41
- Requires-Dist: hypothesis >=6.70.2 ; extra == 'testing'
36
+ Requires-Dist: h5py>=3.7.0 ; extra == 'testing'
37
+ Requires-Dist: huggingface-hub>=0.12.1 ; extra == 'testing'
38
+ Requires-Dist: setuptools-rust>=1.5.2 ; extra == 'testing'
39
+ Requires-Dist: pytest>=7.2.0 ; extra == 'testing'
40
+ Requires-Dist: pytest-benchmark>=4.0.0 ; extra == 'testing'
41
+ Requires-Dist: hypothesis>=6.70.2 ; extra == 'testing'
42
42
  Requires-Dist: safetensors[torch] ; extra == 'all'
43
43
  Requires-Dist: safetensors[numpy] ; extra == 'all'
44
44
  Requires-Dist: safetensors[pinned-tf] ; extra == 'all'
@@ -1,14 +1,14 @@
1
- safetensors-0.5.1.dist-info/METADATA,sha256=nqUtFkesJ7TfWrJm-dlPXIQ0AWRVQzQECNjAItPEYg8,3842
2
- safetensors-0.5.1.dist-info/WHEEL,sha256=FcV-SvPkT3gm73hKtuoXdU6AV7iab7dzVHvGoqdW4Zg,106
1
+ safetensors-0.5.3.dist-info/METADATA,sha256=_n1YE2PtILIEcBYj2o-Q3Yo7mZXpqSkLYWeI2ANWrb8,3823
2
+ safetensors-0.5.3.dist-info/WHEEL,sha256=h9EYYZHsz3NJAQUa8VI6iBep2u2cXiuUTFEzYDguhdk,106
3
3
  safetensors.libs/libgcc_s-e52197c3.so.1,sha256=vkPW1Auw6CH9Bjk7frmX3hry_1H9c0tRI0Ncyg71WUI,724137
4
- safetensors/paddle.py,sha256=V_RCTXymi2PJAG_jA4-qnfzbYAUB_74VYYXFzhXTLYM,4175
5
- safetensors/numpy.py,sha256=5Z_wSFRxVbsAXpnej2zuqtdYK9K-nqZs1EE_G14C6Ck,4937
6
- safetensors/flax.py,sha256=AuyY2YHxTBy4xeQLxhAyMledHykpz0Qsys13eKiHNYg,3846
7
- safetensors/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
4
  safetensors/torch.py,sha256=qVvpJJkNmb1FaW9Gj1DllGgqfA1wlDqQRn5DyEIWo90,17822
9
- safetensors/__init__.py,sha256=rFhZV2HBVDIijU2xKjg-0viTLETa-yMLMgFC9-47hdc,171
10
- safetensors/__init__.pyi,sha256=STTiIISOitf4ldWRVP_y4QuR9mx3SGuLA9j2lqUcqT0,3750
11
5
  safetensors/tensorflow.py,sha256=6XaUBcxm0xL4ulNcvVsllKZ_qJ_rBSlE50rNnECCNYQ,3890
6
+ safetensors/flax.py,sha256=AuyY2YHxTBy4xeQLxhAyMledHykpz0Qsys13eKiHNYg,3846
7
+ safetensors/paddle.py,sha256=V_RCTXymi2PJAG_jA4-qnfzbYAUB_74VYYXFzhXTLYM,4175
12
8
  safetensors/mlx.py,sha256=7OTFtbdmGIqLnrjo_36RJRJ7zq1aI6HasvRPLB3d_Gw,3837
13
- safetensors/_safetensors_rust.abi3.so,sha256=pFtAuRUvrizVoEfzNxiteulR-LS6LiJNG-iFRpl25WI,1182937
14
- safetensors-0.5.1.dist-info/RECORD,,
9
+ safetensors/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ safetensors/__init__.py,sha256=rFhZV2HBVDIijU2xKjg-0viTLETa-yMLMgFC9-47hdc,171
11
+ safetensors/numpy.py,sha256=5Z_wSFRxVbsAXpnej2zuqtdYK9K-nqZs1EE_G14C6Ck,4937
12
+ safetensors/__init__.pyi,sha256=ma6haip709qCi6AZq9kCytNzFB-3eeUXfisqo9Kv458,3756
13
+ safetensors/_safetensors_rust.abi3.so,sha256=9wIxnmeDbSAC1w2g3VHK52V2Urf7goTjPEPBXMrMm60,1248473
14
+ safetensors-0.5.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.1)
2
+ Generator: maturin (1.8.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-abi3-musllinux_1_2_aarch64