xinference.client.Client.unregister_model#

Client.unregister_model(model_type: str, model_name: str)[source]#

Unregister a custom model.

Parameters:
  • model_type (str) – The type of model.

  • model_name (str) – The name of the model

Raises:

RuntimeError – Report failure to unregister the custom model. Provide details of failure through error message.