rapidsai / raft

RAFT contains fundamental widely-used algorithms and primitives for machine learning and information retrieval. The algorithms are CUDA-accelerated and form building blocks for more easily writing high performance applications.
https://docs.rapids.ai/api/raft/stable/
Apache License 2.0
683 stars 180 forks source link

WIP: update fmt (>=10.2.1) and spdlog (>=1.13) #2279

Open jameslamb opened 2 months ago

jameslamb commented 2 months ago

Description

Contributes to:

Testing with:

Notes for Reviewers

Will put up a better description and revert testing-only changes before marking this ready for review.

Testing with an approach similar to https://github.com/rapidsai/cuml/pull/5640

jameslamb commented 2 months ago

The CUDA 12.x conda-python-tests jobs are failing here, like this:

ImportError while importing test module '/__w/raft/raft/python/pylibraft/pylibraft/test/test_brute_force.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/conda/envs/test/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_brute_force.py:21: in <module>
    from pylibraft.neighbors.brute_force import knn
/opt/conda/envs/test/lib/python3.11/site-packages/pylibraft/neighbors/__init__.py:16: in <module>
    from pylibraft.neighbors import brute_force  # type: ignore
E   ImportError: libnvJitLink.so.12: cannot open shared object file: No such file or directory

(build link)

That looks unrelated to these changes. I see the same issues on other recent PRs: