An open API service indexing awesome lists of open source software.

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

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