Compute Targets
Use compute targets in Data Science as the infrastructure or environment for executing machine learning workloads, such as model deployments, using provided processing power and memory.
A compute target is an OCI resource under the OCI Data Science family, designed to execute data science workloads. A compute target serves as the infrastructure or environment where AI/ML workloads can be executed. The compute target lets you create and manage the required compute and processing power independently from the workload's execution.
Managed Compute Cluster
On this page, the term compute target assumes the type Managed Compute Cluster.
Managed Compute Cluster is a compute target type. This type provides Data Science-managed infrastructure for workload deployment, where the operations, maintenance, and patching of the underlying infrastructure and compute are handled by the OCI Data Science team.
Following are key benefits of Managed Compute Cluster compute targets.
- Reusable Managed Capacity: Create a compute target once and use it for AI/ML workloads, instead of creating and deleting infrastructure for each workload.
- Better capacity utilization: AI//MLworkloads can use available compute capacity at a finer granularity. For example, GPU-based workloads can be placed to use individual GPU cards more efficiently, and CPU-based workloads can use smaller portions of the available CPU capacity based on their requirements.
- Faster workload execution: Workload can quickly bootstrap on a compute target, reducing the time spent waiting for new infrastructure provisioning.
- Reduced Cost: Efficient use of shared compute capacity and reduced infrastructure recycling time can help lower the cost of deploying workloads.
- Autoscaling: A Managed Compute Cluster compute target supports autoscaling, allowing instances to scale up or down based on the workload requirement.
A Managed Compute Cluster compute target can have a homogeneous set of compute shapes, which customers can provide during compute target creation. Multiple compute targets can be created based on the workload shape requirement.
Note: Futher In this section, 'compute target' refers to a compute target whose type is Managed Compute Cluster.
Supported Workloads
Compute targets support the model deployment workload. The workload must use the managed container provided by Data Science for deployment.
Isolation and Workload Placement
A compute target can host multiple workloads, whether similar or different. We recommend different compute targets for workloads that require stronger isolation.
Supported Features
Following are features supported by compute targets.
- Data Science-managed infrastructure: OCI Data Science manages operations, maintenance, and patching for the underlying infrastructure.
- Compute target autoscaling: Compute target instances can scale in or out based on workload requirements.
- Model deployment autoscaling: Model deployments hosted on a compute target can autoscale, including scaling to zero with request buffering.
- Custom and managed egress: For supported egress traffic, workloads can use custom egress in addition to OCI Data Science-managed network paths.
- Compute target metrics: Compute target metrics are available in OCI Monitoring.
- Model deployment metrics: Model deployment metrics are available in OCI Monitoring.
Usage Considerations
Before using Managed Compute Cluster compute targets, review these considerations.
- Managed Compute Cluster uses a homogeneous compute shape. If your workloads require different shapes, create a separate compute target for each shape.
- Use separate compute targets for workloads that require stronger isolation.
- Internet access from workload containers is restricted.
- Managed egress is available through supported OCI Data Science-managed network paths.
- A compute target is tenancy-specific and can't be shared across tenancies. Use separate compute targets for development, test, and production workloads.
- Plan sufficient spare capacity for patching and maintenance operations.
- Each compute target node reserves approximately 0.7 OCPU and 1 GiB of memory for Data Science service and platform components. Plan workload capacity using the remaining node capacity.
Supported Shapes
Managed Compute Cluster supports selected CPU and GPU shapes.
| Shape family | Shapes |
|---|---|
| Standard VM | VM.Standard2.1, VM.Standard2.2, VM.Standard2.4, VM.Standard2.8, VM.Standard2.16, VM.Standard2.24, VM.Standard.E3.Flex, VM.Standard.E4.Flex, VM.Standard.E5.Flex, VM.Standard.E6.Flex, VM.Standard3.Flex, VM.Optimized3.Flex |
| GPU VM | VM.GPU2.1, VM.GPU3.1, VM.GPU3.2, VM.GPU3.4, VM.GPU.A10.1, VM.GPU.A10.2 |
| GPU bare metal | BM.GPU2.2, BM.GPU3.8, BM.GPU4.8, BM.GPU.A100-v2.8, BM.GPU.H100.8, BM.GPU.B4.8, BM.GPU.T1.2, BM.GPU.A10.4, BM.GPU.L40S-NC.4 |
Billing
- When you create a Managed Compute Cluster compute target, you select the compute shape and the number of instances. Billing is based on the underlying Compute resources provisioned for the managed compute cluster compute target at standard OCI rates.
- If autoscaling is configured, billing reflects the active compute capacity. You're charged for additional instances when the compute target scales out, and you're no longer charged for instances that are removed when the compute target scales in.
- When you delete the compute target, billing stops for the infrastructure associated with that compute target.
Patching
Data Science manages patching for the underlying infrastructure used by compute targets. Patching can include updates to the managed infrastructure image and service bootstrap configuration used by the compute target. During patching, the compute target can enter an Updating state while patching is in progress and returns to Active when patching completes. Patching updates only Data Science-managed infrastructure. Patching doesn't update your model artifact, model deployment configuration, or the container image used by your model deployment.
Data Science applies safeguards during patching to keep model deployments available while the underlying compute target infrastructure is maintained. As part of patching, Data Science might replace or restart compute target instances, or move model deployment instances as needed. For production workloads, size the compute target with maintenance headroom and configure enough model deployment instances for your availability needs.
Patching is managed by Data Science and doesn't require customer action. If a compute target is in the Updating state, the lifecycle details can indicate whether Data Science-managed patching is in progress. When patching completes, the compute target returns to Active. If the compute target requires service attention, review the lifecycle details and any related work request messages. If the issue persists, contact Oracle Support.
Available Regions
Managed Compute Cluster is available in the following regions:
- US East (Ashburn) (
us-ashburn-1) - US Midwest (Chicago) (
us-chicago-1) - US West (Phoenix) (
us-phoenix-1) - UK South (London) (
uk-london-1) - UK West (Newport) (
uk-cardiff-1) - India West (Mumbai) (
ap-mumbai-1) - Germany Central (Frankfurt) (
eu-frankfurt-1) - Italy Northwest (Milan) (
eu-milan-1) - Australia Southeast (Melbourne) (
ap-melbourne-1)