Skip to content

Commit 562e4c6

Browse files
committed
fix(samples): use CUDA 13-native cufft/cublas instead of -cu12 packages
Replace nvidia-cufft-cu12/nvidia-cublas-cu12 with nvidia-cufft/nvidia-cublas in fftSignalAnalysis and numpyVsCupy, per review feedback not to mix CUDA 12 and CUDA 13 packages. Follow-up on switching to cupy-cuda13x[ctk] tracked in NVIDIA#2961.
1 parent 6b5e79d commit 562e4c6

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎ci/tools/run-tests‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ elif [[ "${test_module}" == "core" || "${test_module}" == nightly-* ]]; then
115115
echo "Installing optional sample deps (nvtx, pillow)"
116116
pip install nvtx pillow || echo "Warning: optional sample deps install failed; affected samples will be waived"
117117
# curand: some samples (vectorAdd, parallelHistogram) call cp.random,
118-
# which dlopens libcurand at runtime.
118+
# which dlopens libcurand at runtime.
119119
echo "Installing optional sample deps (curand)"
120120
pip install "cuda-toolkit[curand]==${TEST_CUDA_MAJOR_MINOR}.*" || echo "Warning: curand install failed; affected samples will be waived"
121121
echo "Installed packages before core tests:"

‎samples/cuda_core/fftSignalAnalysis/fftSignalAnalysis.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

2727
# /// script
28-
# dependencies = ["cuda-python>=13.0.0", "cuda-core>=1.0.0", "cupy-cuda13x>=14.0.0", "numpy>=2.3.2", "nvidia-cufft-cu12"]
28+
# dependencies = ["cuda-python>=13.0.0", "cuda-core>=1.0.0", "cupy-cuda13x>=14.0.0", "numpy>=2.3.2", "nvidia-cufft"]
2929
# ///
3030

3131
"""

‎samples/cuda_core/fftSignalAnalysis/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ cuda-python>=13.0.0
44
cuda-core>=1.0.0
55
cupy-cuda13x>=14.0.0
66
numpy>=2.3.2
7-
nvidia-cufft-cu12
7+
nvidia-cufft

‎samples/cuda_core/numpyVsCupy/numpyVsCupy.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

2727
# /// script
28-
# dependencies = ["numpy>=2.3.2", "cuda-python>=13.0.0", "cuda-core>=1.0.0", "cupy-cuda13x>=14.0.0", "nvidia-cublas-cu12"]
28+
# dependencies = ["numpy>=2.3.2", "cuda-python>=13.0.0", "cuda-core>=1.0.0", "cupy-cuda13x>=14.0.0", "nvidia-cublas"]
2929
# ///
3030

3131
import argparse

‎samples/cuda_core/numpyVsCupy/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ numpy>=2.3.2
55
cuda-python>=13.0.0
66
cuda-core>=1.0.0
77
cupy-cuda13x>=14.0.0
8-
nvidia-cublas-cu12
8+
nvidia-cublas

0 commit comments

Comments
 (0)