Skip to content

[Bug]: Device with "gpu" name is not registered in the OpenVINO Runtime #384

@BiankaBeuka

Description

@BiankaBeuka

[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

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