Skip to content

Commit

Permalink
gemma finetune on gpu on gke cloudbuild and instructions (#1388)
Browse files Browse the repository at this point in the history
* add cloudbuild and readme

* link to official docs in readme.;
  • Loading branch information
moficodes authored Jul 25, 2024
1 parent 016d16c commit 7c42630
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ai-ml/llm-finetuning-gemma/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Finetune an LLM with multiple GPUs in GKE samples
# Tutorial: Finetuning Gemma 2b on GKE using L4 GPUs

TBD
[Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine).

Visit [Google Cloud documentation](https://cloud.devsite.corp.google.com/kubernetes-engine/docs/tutorials/finetune-gemma-gpu)
to follow the tutorials.
19 changes: 19 additions & 0 deletions ai-ml/llm-finetuning-gemma/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'us-docker.pkg.dev/$PROJECT_ID/gemma/finetune-gemma-gpu:1.0.0', '.' ]
images:
- 'us-docker.pkg.dev/$PROJECT_ID/gemma/finetune-gemma-gpu:1.0.0'

0 comments on commit 7c42630

Please sign in to comment.