-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onnxruntime.capi.onnxruntime_pybind11_state.Fail ONNXRuntimeError #770
Comments
Rearranging our test a bit for debugging: def test_varying_batch_sizes(self):
model = GradientBoostingClassifier(n_estimators=10, max_depth=3)
np.random.seed(0)
X = np.random.rand(100, 200)
X = np.array(X, dtype=np.float32)
y = np.random.randint(2, size=100)
X_test = np.random.rand(2, 200)
X_test = np.array(X_test, dtype=np.float32)
model.fit(X, y)
model_probs = model.predict_proba(X_test)
# failure is here on the HB convert line
# conv_model = hummingbird.ml.convert(model, "onnx", X, extra_config={}) The ORT team mentioned that there was a change to the transpose opset and that "the input shape seems missing". When I run this code above, at the
Maybe it does not like our dynamic_axes? Which I guess explains the error message of ( |
dynamic_axes_cfg in this test is If I remove the dynamic axes here (ex: |
See #770 and microsoft/onnxruntime#20715 We need to investigate what's going on with the dynamic args
See #770 and microsoft/onnxruntime#20715 We need to investigate what's going on with the dynamic args
Onnxruntime 1.18.0 was released 3 hours ago on pypi, but I don't see it yet on their github.
From CI:
Both are related to Op (
Transpose
)The text was updated successfully, but these errors were encountered: