huggingface / huggingface/optimum-intel

List available backend providers (ipex, openvino)

Open
#995 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
620
Forks
270
Avg merge
3d 10h
Merged PRs (30d)
22

Description

We are looking for a way how to find out which "backends" are available.

Is there an equivalent of:
```
import onnxruntime as ort

providers = ort.get_available_providers()
print(providers)
```

We don't have the luxury of trying out a OVAutoModel with openvino, notice its not available & then switch to the default Optimum model. Any way to detect this?

FYI: We are working on https://github.com/michaelfeil/infinity/pull/454.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.