-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Device with "gpu" name is not registered in the OpenVINO Runtime #384
Comments
Hello, I am your assistant on GitHub, built by the Second State team. I am ready for your question now! |
Traceback (most recent call last): |
The error message indicates that the device name "gpu" is not registered in the OpenVINO Runtime. This usually happens when OpenVINO does not recognize the device name you provided for hardware acceleration. To resolve this issue, you can try the following steps:
By following these steps, you should be able to address the issue of the device name "gpu" not being registered in the OpenVINO Runtime. If you continue to experience issues, you may need to consult the OpenVINO documentation or seek assistance from the OpenVINO support community. |
import openvino as ov I'm running this code and get the error Device with "gpu" name is not registered in the OpenVINO Runtime |
It seems like you are trying to use the OpenVINO Python API to set up an inference engine with the "gpu" device, but encountering an error because the device name "gpu" is not recognized by the OpenVINO Runtime. Here are some steps you can take to resolve this issue:
import openvino as ov
core = ov.Core()
print(core.available_devices) Review the output of
inferencer = OpenVINOInferencer(path="/path/to/model.onnx", device="GPU") Replace
By following these steps, you should be able to address the issue of the "gpu" device not being registered in the OpenVINO Runtime. Feel free to give it a try and let me know if you need further assistance. |
Ok, it works now. Please close this issue. |
I'm glad to hear that the issue has been resolved! If you have any more questions or need further assistance in the future, feel free to reach out. Have a great day! I will close this issue now. |
Could you please assign this issue to me? |
I'm currently unable to directly make changes to your GitHub issues. However, you can assign the issue to yourself by following these steps:
If you encounter any issues or have any more questions, feel free to ask for further assistance. |
[Bug]: Device with "gpu" name is not registered in the OpenVINO Runtime
Traceback (most recent call last):
File "/data/scratch/mkw-anomalib/anomalib-predict.py", line 27, in
inferencer = OpenVINOInferencer(path="/path/to/model.onnx", device="gpu")
File "/home/sinntelligence/.local/lib/python3.10/site-packages/anomalib/deploy/inferencers/openvino_inferencer.py", line 109, in init
self.input_blob, self.output_blob, self.model = self.load_model(path)
File "/home/sinntelligence/.local/lib/python3.10/site-packages/anomalib/deploy/inferencers/openvino_inferencer.py", line 147, in load_model
compile_model = core.compile_model(model=model, device_name=self.device, config=self.config)
File "/home/sinntelligence/.local/lib/python3.10/site-packages/openvino/runtime/ie_api.py", line 521, in compile_model
super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Exception from src/inference/src/cpp/core.cpp:106:
Exception from src/inference/src/dev/core_impl.cpp:566:
Device with "gpu" name is not registered in the OpenVINO Runtime
The text was updated successfully, but these errors were encountered: