A model zoo is a collection of AI models. PySDK supports three types of model zoos.
- Hosted Zoo: The models are stored in the host. When loading of a model from a hosted zoo is requested, the machine running the AI model downloads the model from host to a local folder and runs inferences on the model. This type of model zoo works with all three types of inference: hosted inference, AI server inference, and local inference.
- Local Zoo: This option works only for AI server inference. In this case, the models are served from a local folder which is specified when the AI server is started on the machine.
- Single File Zoo: This option works only for local inference. In this case, the model zoo consists of a single model. The path to the model configuration JSON file is used to specify the model zoo.
Inference Type | Hosted Zoo | Local Zoo | Single File Zoo |
---|---|---|---|
Hosted inference | |||
AI server inference | |||
Local inference |