Abstract

Systems and methods for serving machine-learning inference are provided. A host runtime loads a model artifact a single time into host-owned memory, providing a single resident instance of the model artifact. Inference workflows sharing the single instance each execute in a respective interpreter process isolated from the host runtime and from one another. Each interpreter process holds an opaque handle referencing the single instance without a copy of the model artifact in an address space of the interpreter process. The host runtime receives, over a shared-memory channel, a scoring request issued by a first inference workflow through the opaque handle of a first interpreter process. A host thread of the host runtime scores the request using the single instance and returns a scoring result over the shared-memory channel to the first inference workflow.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS