-
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
Error in ONNX conversion #563
Comments
Hello and welcome! We have not seen that error before, and I'm pretty sure I personally have hit all errors onnx has to offer. :-D So I do not think it is specific to Hummingbird, but let's see. | |
Hi @ksaur thanks for the quick reply! Indeed it looks like the same error, not sure if it is related.
|
Ok, and do I understand correctly that it only happens when you change from Also, does it still happen when you kill python, and THEN call |
It is correct, it happens only with If I |
Hmm ok. Can share with us the full stack trace we can see where the error is in convert and try to sort it out? Also share version information on OS/GPU/Python/onnx libs? I'm assuming you installed onnxruntime-gpu as opposed to regular onnxruntime? I am curious...does it work on your platform if you instead install We mostly test on Linux/Windows GPU, but do our best to also support Mac! We don't have access to a MacOS-enabled GPU in our pipeline. I'm not sure if this will be helpful, but one idea could be to check onnx[runtime,tools,...] versions maybe? We had some bug (unrelated to this) which caused us to pin to this version of Please let us know how it goes, and we will try to help you further troubleshoot! |
We are indeed working with |
If it is CPU-only, then I am surprised it doesn't work because we have tested onnx+cpu+mac quite a bit! Are you running the exact code above, or any modifications? What version of Python? In the past, we've used this to force traceback:
For CentOS7, I would expect it to work; we've tested on other fedora-based distros but not that one specifically. Does it also hang there, or print GIL error? Is this on a VM on the same machine as your Mac, or a separate machine? |
I tried just now on CentOS7 with the above code with the older onnx versions and wasn't able to reproduce the error; it worked as expected, so I'm not sure. |
Hi @fgrosa I'm going to close this since I couldn't reproduce it. If you are still stuck, please reopen or file another issue! Thanks! |
I tried to run the following script based on the example in the
README.md
changing backend frompytorch
toonnx
:Everything works as expected, but at the end of the execution I get the following error:
Fatal Python error: take_gil: PyMUTEX_LOCK(gil->mutex) failed Python runtime state: finalizing (tstate=0x7fceb1409790) Abort trap: 6
Is there something wrong in my installation or is something in the
onnx
conversion?The text was updated successfully, but these errors were encountered: