Creating a Dedicated AI Cluster for Hosting Models
Create a dedicated AI cluster resource in OCI Generative AI to host endpoints for pretrained base models, custom models, or imported models.
A hosting dedicated AI cluster provides the compute resources for model inference. The model or base model and unit shape selected when you create the cluster determine which models are compatible with it. After the cluster becomes active, create one or more model endpoints to access the hosted model.
- Not Available on-demand: All OCI Generative AI foundational pretrained models supported for the on-demand serving mode that use the text generation and summarization APIs (including the playground) are now retired. We recommend that you use the chat models instead.
- Can be hosted on clusters: If you host a summarization or a generation model such as
cohere.commandon a dedicated AI cluster, (dedicated serving mode), you can continue to use that model until it's retired. These models, when hosted on a dedicated AI cluster are only available in US Midwest (Chicago). See Deprecated APIs in Generative AI for the date that the APIs are no longer available.
- Note
Clusters take a few minutes to create. After the cluster is in an active state, select it when you create an endpoint for the model. By default, a hosting cluster can have up to 50 model endpoints. See Endpoint Capacity. Use the dedicated-ai-cluster create command and required parameters to create a dedicated AI cluster:
oci generative-ai dedicated-ai-cluster create --compartment-id <compartment-OCID> --type HOSTING --unit-count [integer] --unit-shape [text] [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateDedicatedAiCluster operation to create a dedicated cluster.