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.