Moving a Custom Model

Move a custom model in OCI Generative AI from its current compartment into a different compartment.

    1. On the Custom models list page, find the custom model that you want to work with. If you need help finding the list page or the custom model, see Listing Custom Models.
    2. To view the custom models in a different compartment, use the Compartment filter to switch compartments.
      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
    3. From the Actions menu (three dots) for the custom model that you want to move, select Move resource.
    4. In the Move resource panel, select the destination compartment from the list.
    5. Select Move resource.
  • Use the dedicated-ai-cluster change-compartment command and required parameters to change a custom model's compartment:

    oci generative-ai model change-compartment 
    --model-id <custom-model-OCID> 
    --compartment-id <destination-compartment-OCID>

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeModelCompartment operation to change a custom model's compartment.