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-bindingsthat best matches target.Warning
cuda-bindingswas once part of thecuda-pythonpackage, which is now a meta-package. Therefore, installingcuda-bindingsalone might be impossible for some versions. For instance, there is no standalonecuda-bindings==12.6, but this version can be installed as part ofcuda-python==12.6.References:
- reprospect.installers.cuda_bindings.main() NoneView on GitHub
- reprospect.installers.cuda_bindings.parse_args() NamespaceView on GitHub
Parse CLI arguments.