This repo enables you to create a data science project in OCI that will allows you fine tune stable diffusion XL with your own images.
First execute this the terraform, and after that go to the created notebook and execute the cells.
You'll need access to GPUs to execute eveything.
See the next video with all the steps.
- Terraform
- ssh-keygen
-
Follow the instructions to add the authentication to your tenant https://medium.com/@carlgira/install-oci-cli-and-configure-a-default-profile-802cc61abd4f.
-
Clone this repository:
git clone https://github.com/carlgira/oci-tf-odsc-sdxl
-
Set three variables in your path.
- The tenancy OCID,
- The comparment OCID where the instance will be created.
- The number of instances to create
- The "Region Identifier" of region of your tenancy.
export TF_VAR_tenancy_ocid='<tenancy-ocid>'
export TF_VAR_compartment_ocid='<comparment-ocid>'
export TF_VAR_region='<oci-region>'
To build the terraform solution, simply execute:
terraform init
terraform plan
terraform apply
Go to the data science project and open the notebook session that was created. You'll need to follow the all the instructions.
- Authors - Carlos Giraldo, Oracle - Bob Peulen, Oracle
- Last Updated Date - August 15th, 2023