xinference.client.Client.terminate_model#

Client.terminate_model(model_uid: str)[源代码]#

Terminate the specific model running on the server.

参数:

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

抛出:

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