xinference.client.Client.get_model#

Client.get_model(model_uid: str) RESTfulModelHandle[소스]#

Launch the model based on the parameters on the server via RESTful APIs.

매개변수:

model_uid (str) – The unique id that identify the model.

반환:

The corresponding Model Handler based on the Model specified in the uid:

반환 형식:

ModelHandle

예외 발생:

RuntimeError – Report failure to get the wanted model with given model_uid. Provide details of failure through error message.