Supported Google Models

You can import large language models from Hugging Face and models imported from an OCI Object Storage bucket into OCI Generative AI, create endpoints for those models, and use them in the Generative AI service.

Google Gemma series, including Gemma2 and Gemma3 open source models are built for broad language processing needs and high versatility. For more information, see Gemma2 and Gemma3 in the Hugging Face documentation.

Gemma

Supported Gemma Models
Hugging Face Model ID Model Capability Recommended Dedicated AI Cluster Unit Shape
google/gemma-2-2b-it TEXT_TO_TEXT A100_80G_X1
google/gemma-2-9b-it TEXT_TO_TEXT A100_80G_X1
google/gemma-2-27b-it TEXT_TO_TEXT A100_80G_X2
google/gemma-3-1b-it TEXT_TO_TEXT A100_80G_X1
google/gemma-3-4b-it IMAGE_TEXT_TO_TEXT A100_80G_X1
google/gemma-3-12b-it IMAGE_TEXT_TO_TEXT A100_80G_X1
google/gemma-3-27b-it IMAGE_TEXT_TO_TEXT A100_80G_X2
google/gemma-3-270m-it TEXT_TO_TEXT A100_80G_X1
Note

  • To import a fine-tuned version of a model, only fine-tuned models that use the same transformers version as the original model and have a parameter count within ±10% of the original are supported.
  • If the instance type for the recommended unit shape isn’t available in your region, select a higher-tier instance (for example, select an H100 shape instead of an A100-80G shape).
  • For prerequisites and how to import models, see Managing Imported Models (New).