xinference.client.Client.list_deletable_models#
- Client.list_deletable_models(model_version: str, worker_ip: str | None = None) Dict[str, Any][源代码]#
Get the cached models with the model path 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]
- 返回:
Dictionary with keys "model_name" and values model_file_location.
- 返回类型:
Dict[str, Dict[str,str]]]