Cannot get device_type from Python API
natke opened this issue · comments
After loading a model, I tried:
print(model.device_type)
but got the following error:
E TypeError: Unable to convert function return value to a Python type! The signature was
E (arg0: onnxruntime_genai.onnxruntime_genai.Model) -> Generators::DeviceType