Skip to content

server

KServe

KServe(name, protocol)

name instance-attribute

name = name

protocol instance-attribute

protocol = protocol

ready instance-attribute

ready = False

model instance-attribute

model: Optional[ModelRunner] = None

metadata instance-attribute

metadata: StatusResponse = sr

load

load()

predict

predict(payload, headers=None)

serve

serve()