xinference.client.Client.terminate_model#

Client.terminate_model(model_uid: str)[código-fonte]#

Terminate the specific model running on the server.

Parâmetros:

model_uid (str) – The unique id that identify the model we want.

Levanta:

RuntimeError – Report failure to get the wanted model with given model_uid. Provide details of failure through error message.