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.