tempo.seldon package

class tempo.seldon.SeldonDeployRuntime

Bases: tempo.serve.base.Runtime

authenticate(settings: tempo.serve.metadata.EnterpriseRuntimeOptions)
deploy_spec(model_spec: tempo.serve.base.ModelSpec)
get_endpoint_spec(model_spec: tempo.serve.base.ModelSpec)
get_headers(model_spec: tempo.serve.base.ModelSpec) → Dict[str, str]
list_models() → Sequence[tempo.serve.base.ClientModel]
to_k8s_yaml_spec(model_spec: tempo.serve.base.ModelSpec) → str
undeploy_spec(model_spec: tempo.serve.base.ModelSpec)
wait_ready_spec(model_spec: tempo.serve.base.ModelSpec, timeout_secs=None) → bool
class tempo.seldon.SeldonDockerRuntime(runtime_options: Optional[tempo.serve.metadata.DockerOptions] = None)

Bases: tempo.serve.base.Runtime

deploy_spec(model_details: tempo.serve.base.ModelSpec)
get_endpoint_spec(model_spec: tempo.serve.base.ModelSpec) → str
list_models() → Sequence[tempo.serve.base.ClientModel]
to_k8s_yaml_spec(model_spec: tempo.serve.base.ModelSpec) → str
undeploy_spec(model_spec: tempo.serve.base.ModelSpec)
wait_ready_spec(model_spec: tempo.serve.base.ModelSpec, timeout_secs=None) → bool
class tempo.seldon.SeldonKubernetesRuntime(runtime_options: Optional[tempo.serve.metadata.KubernetesRuntimeOptions] = None)

Bases: tempo.serve.base.Runtime

deploy_spec(model_spec: tempo.serve.base.ModelSpec)
get_endpoint_spec(model_spec: tempo.serve.base.ModelSpec) → str
list_models(namespace: Optional[str] = None) → Sequence[tempo.serve.base.ClientModel]
to_k8s_yaml_spec(model_spec: tempo.serve.base.ModelSpec) → str
undeploy_spec(model_spec: tempo.serve.base.ModelSpec)
wait_ready_spec(model_spec: tempo.serve.base.ModelSpec, timeout_secs=None) → bool
class tempo.seldon.SeldonProtocol

Bases: tempo.serve.protocol.Protocol

from_protocol_request(res: dict, tys: tempo.serve.metadata.ModelDataArgs) → Union[dict, numpy.ndarray]
from_protocol_response(res: Dict, tys: tempo.serve.metadata.ModelDataArgs) → Any
get_predict_path(model_details: tempo.serve.metadata.ModelDetails)
get_status_path(model_details: tempo.serve.metadata.ModelDetails) → str
to_protocol_request(*args, **kwargs) → Dict
to_protocol_response(model_details: tempo.serve.metadata.ModelDetails, *args, **kwargs) → Dict

Submodules