-
Notifications
You must be signed in to change notification settings - Fork 104
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
chore: Expose TRITONSERVER_Server
instance in Python In-Process API
#385
Conversation
TRITONSERVER_Server
instance in Python In-Process API TRITONSERVER_Server
instance in Python In-Process API
@KrishnanPrash , @GuanLuo , @rmccorm4 - Two points:
|
Co-authored-by: Neelay Shah <[email protected]>
|
Co-authored-by: GuanLuo <[email protected]>
Co-authored-by: GuanLuo <[email protected]>
Goal: To be able to start frontends in python, given that the server instance is being created with the Python In-Process API (
tritonserver
).By exposing the c++ pointer to a running
TRITONSERVER_Server
instance, we can retrieve the memory address of the instance in python and pass it to thetritonfrontend
python package. This package will then usereinterepet_cast<...>
and recover theTRITONSERVER_Server
object from the memory address given.