compressed-tensors-nightly 0.4.0.20240616__py3-none-any.whl → 0.4.0.20240618__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.
@@ -16,14 +16,17 @@
16
16
  Functionality for storing and setting the version info for SparseML
17
17
  """
18
18
 
19
- from datetime import date
20
-
21
19
 
22
20
  version_base = "0.4.0"
23
21
  is_release = False # change to True to set the generated version as a release version
24
22
 
25
23
 
26
- def _generate_version():
24
+ def _generate_version(
25
+ is_release: bool,
26
+ version_base: str,
27
+ ):
28
+ from datetime import date
29
+
27
30
  if is_release:
28
31
  return version_base
29
32
  else:
@@ -41,7 +44,7 @@ __all__ = [
41
44
  "version_build",
42
45
  "version_major_minor",
43
46
  ]
44
- __version__ = _generate_version()
47
+ __version__ = _generate_version(is_release, version_base)
45
48
 
46
49
  version = __version__
47
50
  version_major, version_minor, version_patch, version_build = version.split(".") + (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: compressed-tensors-nightly
3
- Version: 0.4.0.20240616
3
+ Version: 0.4.0.20240618
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=SV1csvHUVCd8kHXz6UDZim1HZ_fAVG3vfk-j_4Bb6hY,789
2
2
  compressed_tensors/base.py,sha256=OA2TOLP1gP3LSH7gp508eqr2ZtDQ-pqRHElCp-aB0vs,755
3
- compressed_tensors/version.py,sha256=7shEvInzCEXAScJ2akpiQpgv_IjveX6mAfvi2D_wQDE,1512
3
+ compressed_tensors/version.py,sha256=cJJf0y0NnXErTtQtVQjOvrq9hMIkhXIfBwuu4Tuxl24,1586
4
4
  compressed_tensors/compressors/__init__.py,sha256=rhqPp3YXFxCJRLZs1KRNSHTIxK2rNU--sYwDI8MW47w,1061
5
5
  compressed_tensors/compressors/base.py,sha256=LWEgbpgTxzmoqQ7Xhq2OQszUgWoDtFuGCiV1Y8nlBGw,2134
6
6
  compressed_tensors/compressors/dense.py,sha256=G_XHbvuENyupIKlXSITOQgvPkNkcMEOLcLWQr70V9EE,1257
@@ -41,8 +41,8 @@ compressed_tensors/registry/registry.py,sha256=fxjOjh2wklCvJhQxwofdy-zV8q7MkQ85S
41
41
  compressed_tensors/utils/__init__.py,sha256=5DrYjoZbaEvSkJcC-GRSbM_RBHVF4tG9gMd3zsJnjLw,665
42
42
  compressed_tensors/utils/helpers.py,sha256=5ull5yFT31M2zVxKeFvpvvlvX5f1Sk1LGuj_wrfZWCY,2267
43
43
  compressed_tensors/utils/safetensors_load.py,sha256=0MheXwx1jeY12PeISppiSIZHs6rmN2YddwPpFb9V67I,8527
44
- compressed_tensors_nightly-0.4.0.20240616.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
- compressed_tensors_nightly-0.4.0.20240616.dist-info/METADATA,sha256=vys94m9e0w7xH1n0dQMmLOq2BJ7GFAzsrlxTBec9Sj0,5668
46
- compressed_tensors_nightly-0.4.0.20240616.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
47
- compressed_tensors_nightly-0.4.0.20240616.dist-info/top_level.txt,sha256=w2i-GyPs2s1UwVxvutSvN_lM22SXC2hQFBmoMcPnV7Y,19
48
- compressed_tensors_nightly-0.4.0.20240616.dist-info/RECORD,,
44
+ compressed_tensors_nightly-0.4.0.20240618.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
+ compressed_tensors_nightly-0.4.0.20240618.dist-info/METADATA,sha256=ks0A9UY_BRaVY_csNN_DJd18T4PaeDb84k9xlDzf9tM,5668
46
+ compressed_tensors_nightly-0.4.0.20240618.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
47
+ compressed_tensors_nightly-0.4.0.20240618.dist-info/top_level.txt,sha256=w2i-GyPs2s1UwVxvutSvN_lM22SXC2hQFBmoMcPnV7Y,19
48
+ compressed_tensors_nightly-0.4.0.20240618.dist-info/RECORD,,