xinference.client.Client.register_model#

Client.register_model(model_type: str, model: str, persist: bool, worker_ip: str | None = None)[source]#

Register a custom model.

Parameters:
Raises:

RuntimeError – Report failure to register the custom model. Provide details of failure through error message.