Skip to content

feat: migrate from pybind11 to nanobind#244

Open
Artlesbol wants to merge 2 commits intosophgo:masterfrom
Artlesbol:nanobind-migrate-pr
Open

feat: migrate from pybind11 to nanobind#244
Artlesbol wants to merge 2 commits intosophgo:masterfrom
Artlesbol:nanobind-migrate-pr

Conversation

@Artlesbol
Copy link
Contributor

  • Replace pybind11 with nanobind across all Python bindings modules,
  • updating CMakeLists.txt, include headers, and module declarations.

我执行了python/test/test_onnx.py测试程序并按README上的两个样例进行了测试(未将产物拷贝到开发板子上执行,仅完成容器中的转换流程),以上测试全部通过,如果需要完善更多测试,请告知我

I executed the python/test/test_onnx.py test program and conducted the tests according to the two examples in the README (I did not copy the results to the development board for execution; I only completed the conversion process within the container). All the tests passed. If you need to add more tests, please let me know.

Artlesbol and others added 2 commits September 1, 2025 20:42
… hook

- Replace all Chinese comments with English equivalents
- Improve code readability for international contributors
- Translate by qwen3-8b using tools uploaded on https://github.com/Artlesbol/llm-comments-translator#
- Add language check in pre-commit hook

---------

Co-authored-by: CharlesXin <110083740+charlesxzb@users.noreply.github.com>
- Replace pybind11 with nanobind across all Python bindings modules,
- updating CMakeLists.txt, include headers, and module declarations.
@Artlesbol
Copy link
Contributor Author

about issue #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant