compressed-tensors-nightly 0.8.1.20241216__tar.gz → 0.8.1.20241217__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {compressed-tensors-nightly-0.8.1.20241216/src/compressed_tensors_nightly.egg-info → compressed-tensors-nightly-0.8.1.20241217}/PKG-INFO +1 -1
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/model_compressors/model_compressor.py +3 -3
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/quant_config.py +1 -1
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217/src/compressed_tensors_nightly.egg-info}/PKG-INFO +1 -1
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/LICENSE +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/README.md +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/pyproject.toml +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/setup.cfg +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/setup.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/base.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/base.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/helpers.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/model_compressors/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/quantized_compressors/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/quantized_compressors/base.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/quantized_compressors/naive_quantized.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/quantized_compressors/pack_quantized.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/sparse_compressors/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/sparse_compressors/base.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/sparse_compressors/dense.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/sparse_compressors/sparse_bitmask.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/sparse_quantized_compressors/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/compressors/sparse_quantized_compressors/marlin_24.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/config/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/config/base.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/config/dense.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/config/sparse_bitmask.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/linear/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/linear/compressed_linear.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/lifecycle/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/lifecycle/apply.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/lifecycle/compressed.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/lifecycle/forward.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/lifecycle/helpers.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/lifecycle/initialize.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/quant_args.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/quant_scheme.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/utils/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/quantization/utils/helpers.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/registry/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/registry/registry.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/__init__.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/helpers.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/offload.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/permutations_24.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/permute.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/safetensors_load.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/utils/semi_structured_conversions.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors/version.py +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors_nightly.egg-info/SOURCES.txt +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors_nightly.egg-info/dependency_links.txt +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors_nightly.egg-info/requires.txt +0 -0
- {compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/src/compressed_tensors_nightly.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: compressed-tensors-nightly
|
3
|
-
Version: 0.8.1.
|
3
|
+
Version: 0.8.1.20241217
|
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.
|
@@ -137,7 +137,7 @@ class ModelCompressor:
|
|
137
137
|
format, **sparsity_config
|
138
138
|
)
|
139
139
|
if quantization_config is not None:
|
140
|
-
quantization_config = QuantizationConfig.
|
140
|
+
quantization_config = QuantizationConfig.model_validate(quantization_config)
|
141
141
|
|
142
142
|
return cls(
|
143
143
|
sparsity_config=sparsity_config, quantization_config=quantization_config
|
@@ -193,7 +193,7 @@ class ModelCompressor:
|
|
193
193
|
|
194
194
|
if is_compressed_tensors_config(compression_config):
|
195
195
|
s_config = compression_config.sparsity_config
|
196
|
-
return s_config.
|
196
|
+
return s_config.model_dump() if s_config is not None else None
|
197
197
|
|
198
198
|
return compression_config.get(SPARSITY_CONFIG_NAME, None)
|
199
199
|
|
@@ -214,7 +214,7 @@ class ModelCompressor:
|
|
214
214
|
|
215
215
|
if is_compressed_tensors_config(compression_config):
|
216
216
|
q_config = compression_config.quantization_config
|
217
|
-
return q_config.
|
217
|
+
return q_config.model_dump() if q_config is not None else None
|
218
218
|
|
219
219
|
quantization_config = deepcopy(compression_config)
|
220
220
|
quantization_config.pop(SPARSITY_CONFIG_NAME, None)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: compressed-tensors-nightly
|
3
|
-
Version: 0.8.1.
|
3
|
+
Version: 0.8.1.20241217
|
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.
|
{compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/LICENSE
RENAMED
File without changes
|
{compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/README.md
RENAMED
File without changes
|
File without changes
|
{compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/setup.cfg
RENAMED
File without changes
|
{compressed-tensors-nightly-0.8.1.20241216 → compressed-tensors-nightly-0.8.1.20241217}/setup.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|