Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
OmaymaS committed Jul 15, 2022
1 parent 7bae247 commit 72a599d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions fastai_training_job/README.md
Original file line number Diff line number Diff line change
@@ -0,0 1,30 @@
# fastai - torch examples

## Local training

TBA

## GCP training on vertexai

### 1- Build image
```
IMAGE_NAME='{trainer_image_tagging}'
IMAGE_TAG='vertexai_train_job'
PROJECT_ID='{valid_gcp_project_name}}'
IMAGE_URI=gcr.io/$PROJECT_ID/$IMAGE_NAME:$IMAGE_TAG
TRAINING_APP_FOLDER=train_job_image
gcloud builds submit --tag $IMAGE_URI $TRAINING_APP_FOLDER
```

## 2- Trigger training job

To trigger a sample training job use:

```
gcloud beta ai custom-jobs create \
--display-name='trainvertex_job_minimal' \
--region=europe-west4 \
--project='{valid_gcp_project_name}}' \
--config=vertexai_config_test.yml
```

0 comments on commit 72a599d

Please sign in to comment.