-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Python pnnx with pnnx binary #5067
Conversation
TO DO:
|
b5ce6bb
to
57c29c3
Compare
The attempt with pybind is aborted because of a challenging error for me under GCC, which is a segmentation fault when simultaneously using the pre-compiled pnnx shared library alongside the pytorch. |
虽然还有点细节的问题,先merge了! |
Python wheels have been created for PNNX using Pybind with CI.
You can find the release test, combined with pytest, at the following location: https://github.com/Hideousmon/ncnn/actions/runs/6433620002 .
The pytest files are available here: https://github.com/Hideousmon/ncnn/tree/python-pnnx-with-pybind/tools/pnnx/python/tests .
A basic documentation can be found here: https://github.com/Hideousmon/ncnn/blob/python-pnnx-with-pybind/tools/pnnx/python/README.md , which can also be found in this pull request.
The codes for Pypi publishment in the .yml file are currently commented out. A new API Token for PNNX project may need to be created first.
Note: