cuquantum-python 23.10.0__tar.gz → 24.3.0.post0__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: 23.10.0
3
+ Version: 24.3.0.post0
4
4
  Summary: NVIDIA cuQuantum Python
5
5
  Home-page: https://developer.nvidia.com/cuquantum-sdk
6
6
  Author: NVIDIA Corporation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cuquantum-python
3
- Version: 23.10.0
3
+ Version: 24.3.0.post0
4
4
  Summary: NVIDIA cuQuantum Python
5
5
  Home-page: https://developer.nvidia.com/cuquantum-sdk
6
6
  Author: NVIDIA Corporation
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2023, NVIDIA CORPORATION & AFFILIATES.
1
+ # Copyright (c) 2021-2024, NVIDIA CORPORATION & AFFILIATES.
2
2
  #
3
3
  # SPDX-License-Identifier: BSD-3-Clause
4
4
 
@@ -17,7 +17,7 @@ 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 = "23.10.0"
20
+ package_ver = "24.03.0.post0"
21
21
  package_name = "cuquantum-python"
22
22
 
23
23
 
@@ -39,12 +39,11 @@ if os.environ.get('CUQUANTUM_META_WHEEL_BUILD', '0') == '1':
39
39
  else:
40
40
  # Case 2: install sdist
41
41
  install_requires = [f"{infer_best_package(package_name)}=={package_ver}",]
42
- if 11000 <= cuda_autodetect.CUDA_RESOLUTION < 11010:
43
- install_requires.append('cupy-cuda110')
44
- elif 11010 <= cuda_autodetect.CUDA_RESOLUTION < 11020:
45
- install_requires.append('cupy-cuda111')
46
- elif 11020 <= cuda_autodetect.CUDA_RESOLUTION < 12000:
47
- install_requires.append('cupy-cuda11x')
42
+ # For cuQuantum 24.03+, we need cuTENSOR 2.0+, meaning we can't use CuPy older than
43
+ # v13.0.0, and CuPy v13+ supports CUDA 11.2+
44
+ if 11020 <= cuda_autodetect.CUDA_RESOLUTION < 12000:
45
+ # no ambiguity for CUDA 11, cuquantum-python-cu11 would do the right thing
46
+ pass
48
47
  elif 12000 <= cuda_autodetect.CUDA_RESOLUTION < 13000:
49
48
  # no ambiguity for CUDA 12, cuquantum-python-cu12 would do the right thing
50
49
  pass