TorchFX bugfix missing core object in get_device() (#19255)

This commit is contained in:
Mustafa Cavus
2023-08-23 03:42:38 -07:00
committed by GitHub
parent 3b2e263879
commit aa53394c07

View File

@@ -49,6 +49,7 @@ def cache_root_path():
return cache_root
def get_device():
core = Core()
device = "CPU"
if os.getenv("OPENVINO_TORCH_BACKEND_DEVICE") is not None: