triton-inference-server / client

Triton Python, C++ and Java client libraries, and GRPC-generated client examples for go, java and scala.
BSD 3-Clause "New" or "Revised" License
527 stars 225 forks source link

Fix Python Shm Client Leak #614

Closed fpetrini15 closed 2 months ago

fpetrini15 commented 2 months ago

Goal: The python client was not properly deallocating dynamic memory when destroying shared memory regions. This PR bundle fixes the leak and adds an additional test case.

Server PR: https://github.com/triton-inference-server/server/pull/7172

fpetrini15 commented 2 months ago

Haven't even put the PRs up for review and you've already found it. Nothing gets passed you! 😄