xinference.client.Client.unregister_model#

Client.unregister_model(model_type: str, model_name: str)[源代码]#

Unregister a custom model.

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

  • model_name (str) – The name of the model

抛出:

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