https://github.com/vadimkantorov/tritonservercppsharp
Example of generating C# bindings to the C-API interface of Triton Inference Server using the CppSharp tool
https://github.com/vadimkantorov/tritonservercppsharp
cppsharp csharp dotnet ffi triton-inference-server
Last synced: 11 months ago
JSON representation
Example of generating C# bindings to the C-API interface of Triton Inference Server using the CppSharp tool
- Host: GitHub
- URL: https://github.com/vadimkantorov/tritonservercppsharp
- Owner: vadimkantorov
- Created: 2024-08-19T13:05:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-31T10:11:39.000Z (over 1 year ago)
- Last Synced: 2025-01-12T19:21:03.201Z (12 months ago)
- Topics: cppsharp, csharp, dotnet, ffi, triton-inference-server
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of generating C# bindings to the C-API interface of [Triton Inference Server](https://github.com/triton-inference-server/server) using the [CppSharp](https://github.com/mono/CppSharp) tool
Does not support the Triton C++ Wrapper bindings as CppSharp does not seem to support `std::shared_ptr`: https://github.com/mono/CppSharp/blob/main/docs/UsersManual.md#standard-library-support
See the complete script at [tritonservercppsharp.yml](./.github/workflows/tritonservercppsharp.yml)
# References
- https://github.com/mono/CppSharp/issues/1860
- https://github.com/triton-inference-server/server/blob/main/docs/customization_guide/inference_protocols.md#java-bindings-for-in-process-triton-server-api
- https://github.com/triton-inference-server/server/issues/7543
- https://github.com/triton-inference-server/core/blob/main/include/triton/core/tritonserver.h
- https://github.com/triton-inference-server/developer_tools/blob/main/server/include/triton/developer_tools/server_wrapper.h
- https://github.com/bytedeco/javacpp-presets/blob/master/tritonserver/src/gen/java/org/bytedeco/tritonserver/global/tritonserver.java