Skip to content

An installed package with a different distribution name is not properly detected by Optimum #2163

@kazssym

Description

@kazssym

Optimum has a problem in that it cannot detect the onnxruntime package provided by onnxruntime-directml, as probably with onnxruntime-gpu.

https://github.com/huggingface/optimum/blob/ded71c2a66bf7a41c4350677db8d32b424dc8d09/optimum/utils/import_utils.py#L68C1-L70C1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions