xinference.client.Client.list_model_registrations#

Client.list_model_registrations(model_type: str) List[Dict[str, Any]][source]#

List models registered on the server.

Parameters:

model_type (str) – The type of the model.

Returns:

The collection of registered models on the server.

Return type:

List[Dict[str, Any]]

Raises:

RuntimeError – Report failure to list model registration. Provide details of failure through error message.