cuquantum-python 24.3.0.post0__tar.gz → 24.8.0.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cuquantum-python
3
- Version: 24.3.0.post0
3
+ Version: 24.8.0.2
4
4
  Summary: NVIDIA cuQuantum Python
5
5
  Home-page: https://developer.nvidia.com/cuquantum-sdk
6
6
  Author: NVIDIA Corporation
@@ -206,16 +206,16 @@ def infer_best_package(package_name: str,
206
206
  to_install = _cuda_version_to_package(version)
207
207
  else:
208
208
  # TODO: change this in the future
209
- _log("See below for the warning message and instruction.\n\n\n"
210
- "************************************************************************\n"
211
- "WARNING: Unable to detect NVIDIA CUDA Toolkit installation, assuming\n"
212
- "WARNING: CUDA 11 is in use... This behavior is subject to future change.\n"
213
- f"WARNING: To be explicit, instead of \"pip install {PACKAGE_NAME}\" run\n"
214
- f"WARNING: \"pip install {PACKAGE_NAME}-cuXX\", with XX being the major\n"
215
- "WARNING: version of your CUDA Toolkit installation.\n"
216
- "************************************************************************\n\n")
217
- to_install = _cuda_version_to_package(11080)
218
- version = -1
209
+ message = (
210
+ "See below for the error message and instruction.\n\n\n" +
211
+ "************************************************************************\n" +
212
+ "ERROR: Unable to detect NVIDIA CUDA Toolkit installation\n" +
213
+ f"ERROR: Explicitly specify CUDA version by: `pip install {PACKAGE_NAME}` run\n" +
214
+ f"ERROR: `pip install {PACKAGE_NAME}-cuXX`, with XX being the major\n" +
215
+ "ERROR: version of your CUDA Toolkit installation.\n" +
216
+ "************************************************************************\n\n"
217
+ )
218
+ raise AutoDetectionFailed(message)
219
219
 
220
220
  # Disallow -cu11 & -cu12 wheels from coexisting
221
221
  if len(installed) > 1 or (len(installed) == 1 and installed[0] != to_install):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cuquantum-python
3
- Version: 24.3.0.post0
3
+ Version: 24.8.0.2
4
4
  Summary: NVIDIA cuQuantum Python
5
5
  Home-page: https://developer.nvidia.com/cuquantum-sdk
6
6
  Author: NVIDIA Corporation
@@ -17,7 +17,8 @@ from cuda_autodetect import infer_best_package, bdist_wheel
17
17
 
18
18
  # Update this for every release
19
19
  # Must pin to the cuquantum-python-cuXX version
20
- package_ver = "24.03.0.post0"
20
+ package_ver = '24.8.0.2'
21
+ release_ver = '24.8.0'
21
22
  package_name = "cuquantum-python"
22
23
 
23
24
 
@@ -38,7 +39,7 @@ if os.environ.get('CUQUANTUM_META_WHEEL_BUILD', '0') == '1':
38
39
  cmdclass = {}
39
40
  else:
40
41
  # Case 2: install sdist
41
- install_requires = [f"{infer_best_package(package_name)}=={package_ver}",]
42
+ install_requires = [f"{infer_best_package(package_name)}=={release_ver}",]
42
43
  # For cuQuantum 24.03+, we need cuTENSOR 2.0+, meaning we can't use CuPy older than
43
44
  # v13.0.0, and CuPy v13+ supports CUDA 11.2+
44
45
  if 11020 <= cuda_autodetect.CUDA_RESOLUTION < 12000: