compressed-tensors 0.10.1a20250605__py3-none-any.whl → 0.10.2a20250606__py3-none-any.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.
@@ -87,13 +87,15 @@ def check_accelerate(fallback: Any):
87
87
  if not _has_accelerate:
88
88
 
89
89
  if fallback == "error":
90
- raise ValueError(
91
- "Please install `accelerate` in order to use this function"
92
- )
93
-
94
- @wraps(func)
95
- def fallback_fn(*args, **kwargs):
96
- return fallback
90
+ @wraps(func)
91
+ def fallback_fn(*args, **kwargs):
92
+ raise ValueError(
93
+ "Please install `accelerate` in order to use this function"
94
+ )
95
+ else:
96
+ @wraps(func)
97
+ def fallback_fn(*args, **kwargs):
98
+ return fallback
97
99
 
98
100
  return fallback_fn
99
101
 
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.10.1.a20250605'
21
- __version_tuple__ = version_tuple = (0, 10, 1)
20
+ __version__ = version = '0.10.2.a20250606'
21
+ __version_tuple__ = version_tuple = (0, 10, 2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: compressed-tensors
3
- Version: 0.10.1a20250605
3
+ Version: 0.10.2a20250606
4
4
  Summary: Library for utilization of compressed safetensors of neural network models
5
5
  Home-page: https://github.com/neuralmagic/compressed-tensors
6
6
  Author: Neuralmagic, Inc.
@@ -1,6 +1,6 @@
1
1
  compressed_tensors/__init__.py,sha256=UtKmifNeBCSE2TZSAfduVNNzHY-3V7bLjZ7n7RuXLOE,812
2
2
  compressed_tensors/base.py,sha256=73HYH7HY7O2roC89yG_piPFnZwrBfn_i7HmKl90SKc0,875
3
- compressed_tensors/version.py,sha256=1drALGohY6bSjYuce6n6wWGxc-pkNPXMdLN8NaPd4no,523
3
+ compressed_tensors/version.py,sha256=g4m3RqR1QAndk8dMBzUoODghgITncD4Bp_Td-dPvrbQ,523
4
4
  compressed_tensors/compressors/__init__.py,sha256=smSygTSfcfuujRrAXDc6uZm4L_ccV1tWZewqVnOb4lM,825
5
5
  compressed_tensors/compressors/base.py,sha256=nvWsv4xEw1Tkxkxth6TmHplDYXfBeP22xWxOsZERyDY,7204
6
6
  compressed_tensors/compressors/helpers.py,sha256=OK6qxX9j3bHwF9JfIYSGMgBJe2PWjlTA3byXKCJaTIQ,5431
@@ -48,13 +48,13 @@ compressed_tensors/transform/utils/hadamard.py,sha256=SmPZmnHtc5N36gJA5EbM1T65uf
48
48
  compressed_tensors/transform/utils/utils.py,sha256=PRPTYwPs2nnNaQMq2GEbC4QYKHFKlZwaRyPgdDhl66g,2992
49
49
  compressed_tensors/utils/__init__.py,sha256=gS4gSU2pwcAbsKj-6YMaqhm25udFy6ISYaWBf-myRSM,808
50
50
  compressed_tensors/utils/helpers.py,sha256=cPg-ikdeA92aIGwBONg8GmPNvcGlFhozyJVwsRiXBTA,11981
51
- compressed_tensors/utils/offload.py,sha256=hAGjp9aS0HpFVhjYMGf-WTm76WMY6cS-YXhVEn80qPE,20196
51
+ compressed_tensors/utils/offload.py,sha256=fT7WiUQmRmJ2Reb3I5kNcsHy4YdmZJHSOTNdS0tbKQo,20316
52
52
  compressed_tensors/utils/permutations_24.py,sha256=kx6fsfDHebx94zsSzhXGyCyuC9sVyah6BUUir_StT28,2530
53
53
  compressed_tensors/utils/permute.py,sha256=V6tJLKo3Syccj-viv4F7ZKZgJeCB-hl-dK8RKI_kBwI,2355
54
54
  compressed_tensors/utils/safetensors_load.py,sha256=DMfZBuUbA6qp_BG_zIWT3ckiEE33K9ob34s-OgzReO4,12057
55
55
  compressed_tensors/utils/semi_structured_conversions.py,sha256=XKNffPum54kPASgqKzgKvyeqWPAkair2XEQXjkp7ho8,13489
56
- compressed_tensors-0.10.1a20250605.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
57
- compressed_tensors-0.10.1a20250605.dist-info/METADATA,sha256=qQl1pWVGd0F-f8ANwRhGvxzZVp7jaBtpO2WyKBCP8tQ,7005
58
- compressed_tensors-0.10.1a20250605.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
59
- compressed_tensors-0.10.1a20250605.dist-info/top_level.txt,sha256=w2i-GyPs2s1UwVxvutSvN_lM22SXC2hQFBmoMcPnV7Y,19
60
- compressed_tensors-0.10.1a20250605.dist-info/RECORD,,
56
+ compressed_tensors-0.10.2a20250606.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
57
+ compressed_tensors-0.10.2a20250606.dist-info/METADATA,sha256=zQOy95JRCub4it-SD7sRzzV_UCQoMOgQls9jFlMKk8o,7005
58
+ compressed_tensors-0.10.2a20250606.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
59
+ compressed_tensors-0.10.2a20250606.dist-info/top_level.txt,sha256=w2i-GyPs2s1UwVxvutSvN_lM22SXC2hQFBmoMcPnV7Y,19
60
+ compressed_tensors-0.10.2a20250606.dist-info/RECORD,,