Skip to content

CuPy noticed the error type change for load_nvidia_dynamic_lib("nccl") (windows) #1684

@seberg

Description

@seberg

Probably better to open an issue: I don't have a very strong opinion on this, but it would be nice to know where to go (i.e. if to catch both/all errors in CuPy or just blocklist the one version in CI).

CuPy notice this change in CI (if probably just cupy.show_runtime() breaking on windows). (Checking for nccl.)

I.e. the CuPy code currently assumed that load_nvidia_dynamic_lib always raises DynamicLibNotFoundError. It could be fixed on either side, but maybe it makes sense to just keep raising DynamicLibNotFoundError (with the new message), so that downstream try/except is unaffected?

(Although, I am not sure if it may be nice to be able to distinguish the two errors.)

CC @leofang

Originally posted by @seberg in #1602 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds the team's attention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions