reprospect.installers.cuda_bindings module

reprospect.installers.cuda_bindings.get_available(package: str) list[Version]View on GitHub

Get available versions of package from PyPI.

reprospect.installers.cuda_bindings.get_candidate(*, target: Version, versions: list[Version]) Version | NoneView on GitHub

Match exactly if possible; otherwise, match the closest lower patch version that has the same major and minor.

reprospect.installers.cuda_bindings.install_cuda_bindings(target: Version) NoneView on GitHub

Pick a version of cuda-bindings that best matches target.

Warning

cuda-bindings was once part of the cuda-python package, which is now a meta-package. Therefore, installing cuda-bindings alone might be impossible for some versions. For instance, there is no standalone cuda-bindings==12.6, but this version can be installed as part of cuda-python==12.6.

References:

reprospect.installers.cuda_bindings.main() NoneView on GitHub
reprospect.installers.cuda_bindings.parse_args() NamespaceView on GitHub

Parse CLI arguments.