xinference.client.Client.confirm_and_remove_model#
- Client.confirm_and_remove_model(model_version: str, worker_ip: str | None = None) bool[源代码]#
Remove the cached models with the model name cached on the server. :param model_version: The version of the model. :type model_version: str :param worker_ip: Specify the worker ip where the model is located in a distributed scenario. :type worker_ip: Optional[str]
- 返回:
The response of the server.
- 返回类型:
str