Skip to content

Commit 6002ef4

Browse files
authored
Merge pull request #482 from kmaehashi/fix-preload-test
Fix preloading release tests
2 parents 5fb1253 + 5c1be4b commit 6002ef4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

release-tests/pkg_wheel/test_preload.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ def test_nccl(self):
2828
expected_version = major * major_mult + minor * 100 + patchlevel
2929
assert libnccl.available
3030
assert libnccl.get_build_version() == expected_version
31-
assert libnccl.get_version() == expected_version
31+
# Note: Previously build-time version and runtime version were same,
32+
# because we preferred preloading NCCL from ~/.cupy/cuda_libs installed
33+
# by install_library.py tool. However, starting CuPy v14.0.0, NCCL
34+
# version at runtime depends on NCCL installed on host, because
35+
# cuda-pathfinder is now the primary method to discover libraries.
36+
# assert libnccl.get_version() == expected_version
3237

3338
def test_cutensor(self):
3439
if cupy.cuda.runtime.runtimeGetVersion() < 10010:
@@ -38,4 +43,5 @@ def test_cutensor(self):
3843
major, minor, patchlevel = (int(x) for x in preload_version.split('.'))
3944
expected_version = major * 10000 + minor * 100 + patchlevel
4045
assert libcutensor.available
46+
# Note: cuda-pathfinder does not yet support libcutensor.
4147
assert libcutensor.get_version() == expected_version

0 commit comments

Comments
 (0)