xinference.client.Client.list_model_registrations#

Client.list_model_registrations(model_type: str, detailed: bool = False) List[Dict[str, Any]][fuente]#

List models registered on the server.

Parámetros:
  • model_type (str) – The type of the model.

  • detailed (bool) – Whether to display detailed information.

Devuelve:

The collection of registered models on the server.

Tipo del valor devuelto:

List[Dict[str, Any]]

Muestra:

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