xinference.client.Client.list_deletable_models#

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

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]

Rückgabe:

Dictionary with keys „model_name“ and values model_file_location.

Rückgabetyp:

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