Open AyushVachaspati opened 12 months ago
Hi @AyushVachaspati, we don't officially support Kotlin, but the underlying gRPC connection should be the same. I think the Triton Java API example might help: https://github.com/triton-inference-server/client/tree/main/src/java
Hi @kthui , thanks for responding. It seems that the issue is with Class Loaders for IntelliJ and netty using incompatible classLoaders or something. I've raised the issue with JetBrains and with grpc-java. Maybe they'll be able to help.
This might not have been the best place to ask this, but I still asked hoping that someone in this community would have maybe tried creating an IntelliJ plugin using grpc before and encountered/solved the issue.
Maybe @nnshah1 might have some resources on this issue?
Hi, This is probably not the best place to ask this, but since this community is probably more familiar with setting up GRPC client side code for Trition than the general internet, I'm trying my luck.
I'm trying to setup grpc client to make inference requests to Triton (version:23.06-py3) in Kotlin for my project.
I've setup protoc code generation using gradle (attached build.gradle.kts below), but when I try to create a ManagedChannel to pass to the InferenceService Coroutine, I get this Runtime Error
I thought this might be caused by grpc-netty-shaded dependency I have in the gradle file but I'm not sure since I'm very new to this. I tried removing grpc-netty-shaded in favour of grpc-netty, and also tried to remove the dependency entiry, but both of them lead to this error
I hope someone here is able to point out the, probably obvious, mistake I'm making. I'm really new to Kotlin, Gradle and all of this, and I'd really appreciate any I help I can get.
Thanks! Ayush