xinference.client.Client.terminate_model#

Client.terminate_model(model_uid: str)[sorgente]#

Terminate the specific model running on the server.

Parametri:

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

Solleva:

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