Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Improve cupy.show_config() to better handle CTK wheels #9537

@kmaehashi

Description

@kmaehashi

Description

When using CTK wheels (without system-wide CTK), cupy.show_config() displays an error:

CUDA Runtime Version         : 13000 (linked to CuPy) / RuntimeError('CuPy failed to load libcudart.so.13: OSError: libcudart.so.13: cannot open shared object file: No such file or directory') (locally installed)

The softlink for CUDA Runtime has to be updated to use cuda.pathfinder:
https://github.com/cupy/cupy/blob/f60edcfdf481fd3c18da7494f7a8d1843d390b53/cupy_backends/cuda/api/_runtime_softlink.pxi

Moreover, I think it would be beneficial for users to debug library dependency issues if we could provide more details on loaded libraries. This should be easily doable as LoadedDL already exposes necessary information.

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions