xinference.client.Client.list_deletable_models#

Client.list_deletable_models(model_version: str, worker_ip: str | None = None) Dict[str, Any][fuente]#

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]

Devuelve:

Dictionary with keys «model_name» and values model_file_location.

Tipo del valor devuelto:

Dict[str, Dict[str,str]]]