xinference.client.Client.terminate_model#
- Client.terminate_model(model_uid: str)[source]#
Terminate the specific model running on the server.
- Parameters:
model_uid (str) – The unique id that identify the model we want.
- Raises:
RuntimeError – Report failure to get the wanted model with given model_uid. Provide details of failure through error message.