-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
apiissues related to all other APIs: C, C++, Python, etc.issues related to all other APIs: C, C++, Python, etc.pythonPull requests that update Python codePull requests that update Python code
Description
This causes sigsev.
import onnxruntime as ort
from onnxruntime.capi import _pybind_state as _ort_c
import torch
value = torch.tensor([1.0, 2.0])
ort_value = ort.OrtValue(_ort_c.OrtValue.from_dlpack(value, False), value)Our dlpack version in onnxruntime is very old and needs to be updated to support all types. We should remove the "is_bool_tensor" argument.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiissues related to all other APIs: C, C++, Python, etc.issues related to all other APIs: C, C++, Python, etc.pythonPull requests that update Python codePull requests that update Python code