Skip to content

add_dll_directory does not always find the correct ROCm binary on some systems #2006

@winstxnhdw

Description

@winstxnhdw

Ever since #1989 was merged, all my CI pipelines have been failing.

    from ctranslate2.converters import TransformersConverter
.venv\Lib\site-packages\ctranslate2\__init__.py:24: in <module>
    add_dll_directory(f"{package_dir}/../_rocm_sdk_core/bin")
<frozen os>:1165: in add_dll_directory
    ???
E   FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\a\\ct2hf\\ct2hf\\.venv\\Lib\\site-packages\\ctranslate2/../_rocm_sdk_core/bin'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions