-
Notifications
You must be signed in to change notification settings - Fork 9
Description
[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