Skip to content
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

Configure options for gRPC (Triton server) #49

Closed
amirhmk opened this issue Apr 4, 2023 · 3 comments
Closed

Configure options for gRPC (Triton server) #49

amirhmk opened this issue Apr 4, 2023 · 3 comments

Comments

@amirhmk
Copy link
Contributor

amirhmk commented Apr 4, 2023

Hello! I am trying to play around with the configs for gRPC for the triton server.

I’m using the docker-compose setup, so not sure if the CLI will work for my usecase (perhaps passing them as env variables would work?)

For instance, I’d like to set some variables like this:

('grpc.max_send_message_length', 512 * 1024 * 1024), ('grpc.max_receive_message_length', 512 * 1024 * 1024)]

Is this possible currently? I’m getting an error from gRPC that my payload is more than the limit (8MB instead of 4MB…)

#2

@ainoam
Copy link

ainoam commented Apr 4, 2023

Hi @amirhmk,

At this time this is not possible, though it definitely should be 🙂.
An upcoming v1.3.0 should have an environment override mechanism e.g. use CLEARML_GRPC_max_send_message_length.

In the meantime, you can try changing here:

channel = self._ext_grpc.aio.insecure_channel(triton_server_address,
 options=dict([('grpc.max_send_message_length', 512 * 1024 * 1024), ('grpc.max_receive_message_length', 512 * 1024 * 1024)]))

allegroai-git pushed a commit that referenced this issue Apr 12, 2023
…annel options (notice CLEARML_GRPC_var is converted into grpc.var when setting grpc channel, casing does not change) #49
@pollfly
Copy link
Contributor

pollfly commented Apr 18, 2023

Hey @amirhmk! v1.3.0 is now out supporting gPRC channel configuration

@jkhenning
Copy link
Member

@amirhmk I'm closing the issue. Please reopen if required.

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

No branches or pull requests

4 participants