Skip to main content

build_engine

Function build_engine 

Source
async fn build_engine(cfg: Config) -> Result<Arc<Engine>, String>
Expand description

Build and load one engine off the runtime thread, answering it or the reason it could not serve.

Building before swapping is the order: a model that will not load leaves the previous engine serving rather than the role with nothing.