cuOpt host-side client libraries (C++)
Project Links
Meta
Author: NVIDIA Corporation
Requires Python: >=3.11
Classifiers
Intended Audience
- Developers
Topic
- Database
- Scientific/Engineering
Programming Language
- C++
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
libcuopt-client
Host-side cuOpt client: problem representation, parsers and the gRPC client. Contains no CUDA kernels.
This package ships one component of cuOpt's C++ library. Install libcuopt instead to get all of them.
Building against this package with CMake
find_package(cuopt) provides cuopt::client. The wheels are split across separate
site-packages directories, so pass every wheel root and every directory holding a *-config.cmake:
SP=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')
ROOTS=$(find "$SP" -mindepth 3 -maxdepth 3 -path '*/lib64/cmake' -printf '%h\n' | xargs -n1 dirname | sort -u | tr '\n' ';')
CFGS=$(find "$SP" \( -name '*-config.cmake' -o -name '*Config.cmake' \) -printf '%h\n' | sort -u | tr '\n' ';')
cmake -S . -B build -DCMAKE_PREFIX_PATH="$ROOTS$CFGS"
The client needs no CUDA Toolkit, rmm or raft, except that cuopt/error.hpp includes
raft/core/error.hpp. The problem parsers and solver headers ship with libcuopt-mathopt.
Wheel compatibility matrix
| Platform | Python 3 |
|---|---|
| manylinux_2_26_aarch64 | |
| manylinux_2_27_x86_64 | |
| manylinux_2_28_aarch64 | |
| manylinux_2_28_x86_64 |
Files in release
Extras:
None
Dependencies:
rapids-logger
(==0.3.*)