Server
A Konduit Serving instance is configured by a Server object with a fully configured list of pipeline steps.
from konduit.server import Server
server = Server(
inference_config=None,
serving_config=None,
steps=None,
extra_start_args="-Xmx8g",
config_path="config.json",
jar_path=None,
pid_file_path="konduit-serving.pid",
start_timeout=120,
);Configuring a Server object
Directly define a ServingConfig and a list of steps to Server
server = Server(
serving_config=ServingConfig(http_port=port),
steps=[preprocessing_step, onnx_step]
)Create an InferenceConfig object
Additional arguments
ServingConfig
server.start()
server.start()server.stop()
server.stop()YAML configuration
Last updated
Was this helpful?