Managing Dedicated AI Clusters
Dedicated AI clusters are Compute resources that you can use to fine-tune custom models or to host endpoints for the pretrained base models, custom models, and imported models in OCI Generative AI. The clusters are dedicated to your models and not shared with users in other tenancies.
To run inference with a model on a dedicated AI cluster, create a hosting cluster and wait until it's active. Then, create a model endpoint for the model on that cluster. After the endpoint becomes active, use it to send inference requests to the model. Creating the cluster alone doesn't make the model accessible. This endpoint requirement also applies to imported models.
A hosting cluster provides the model replicas and compute resources for inference. A model endpoint provides access to a model hosted on the cluster. The model must be compatible with the cluster's model selection and unit shape. See Managing Model Endpoints.
Before You Create a Hosting Cluster
Review the following requirements for your model and target region:
- Model availability: For models offered by OCI Generative AI, check Models by Region and select a model available in dedicated mode. For an imported model, review Compatible Models for Import and import the model before creating its hosting cluster.
- Hardware and limits: Choose a compatible unit shape available in your region and check the required service limits in Hardware Unit Shapes by Region. Request additional limits if needed before creating the cluster.
- Permissions: Set up the required permissions for dedicated AI clusters and model endpoints.
Host and Access a Model
Use this workflow in any region that supports dedicated hosting for your model:
- Create a dedicated AI cluster for hosting models. Select the model and a supported unit shape.
- Wait until the cluster's state is Active.
- Create a model endpoint for the model on the cluster. This step is required to access the model.
- Wait until the endpoint's state is Active, then use the endpoint to send inference requests. To try the model in the Console, see Viewing a Model with an Endpoint in the Playground.
Guidelines for Managing Hosting Clusters
The following guidance helps you select compatible resources, adjust capacity, and plan cleanup and costs.
| Area | Recommended Action | What to Avoid |
|---|---|---|
| Availability | Select a model and unit shape supported in the target region. | Don't assume that availability in another region applies to your region. |
| Compatibility | Use model endpoints for models compatible with the cluster's model selection and unit shape. | Don't assume that any model can use an existing cluster. See Switching Models on Dedicated AI Clusters. |
| Capacity | Monitor cluster metrics and add model replicas when more inference throughput is needed. | Don't create additional endpoints to increase throughput. Endpoints share the cluster's provisioned model replicas and compute resources. |
| Billing | Review the billing terms for the model type before allocating or deleting a cluster. | Don't assume that imported models and OCI Generative AI pretrained models have the same minimum billing commitment, or that deleting a cluster removes an applicable minimum charge. |
| Cleanup | Review applications and endpoints that use a cluster before deleting its endpoints and deleting the cluster. | Don't remove resources that applications still need. Review minimum billing commitments before deciding when to delete a cluster. |
US Government and US Defense Regions
OCI Generative AI supports dedicated inference only in the following regions. On-demand inference isn't available:
- US Gov West (Phoenix) (OC2): Region identifier
us-luke-1; region keyLUF. - US DoD West (Phoenix) (OC3): Region identifier
us-gov-phoenix-1; region keyTUS.
Follow the hosting workflow on this page and select a model and shape supported in
your government region. To use B300 units, request a service limit increase for
dedicated-unit-b300-count. See
Requesting a Service Limit Increase for US Government Cloud and US Defense Cloud Tenancies.
Use the regional management and inference API endpoints listed under Oracle US Government Cloud or Oracle US Defense Cloud.
Management Tasks
If you have manage permissions for generative-ai-family, you can perform the following tasks for dedicated AI clusters:
- Create a dedicated AI cluster for fine-tuning custom models
- Create a dedicated AI cluster for hosting models
- List the dedicated AI clusters
- Get a dedicated AI cluster's details
- Get a hosting dedicated AI cluster's metrics
- Update a dedicated AI cluster
- Change the hosted model on a dedicated AI cluster
- Move a dedicated AI cluster
- Delete a dedicated AI cluster
When you perform the preceding tasks, see the detail page for each model and learn about the dedicated AI cluster that matches each base model.