-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.sh
More file actions
executable file
·24 lines (21 loc) · 2.3 KB
/
env.sh
File metadata and controls
executable file
·24 lines (21 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Initial data related variables
export LOCAL_PROJECT="" # Fully qualified path of your locally cloned GCP-Vertex project
export SERVICE_KEY="" # File name of your service account API key in GCP (include the .json)
export GOOGLE_APPLICATION_CREDENTIALS="${LOCAL_PROJECT}/data/${SERVICE_KEY}" # WARNING: DON'T UPDATE THIS ENV VAR
export GOOGLE_CLOUD_PROJECT="" # Set to the default GCP project that you wish to use
export INPUT_GCS_PATH="" # Path to GCS bucket where you uploaded Kaggle files
export DATASET_NAME="" # What you want to name your dataset in BigQuery and your feature store in Vertex (should be lowercase)
export DATASET_LOCATION="" # Location of your BigQuery dataset (should match or be accessible by the Vertex region)
# Intermediary assets
export PREDICTION_PERIOD="" # Prediction interval that you would like to use for your predictive maintenance model, select either "1day", "7day", or "30day"
export DOCKER_REPO="" # Name of your docker repo that you'd like to use / create for your KFP component base image (follow proper syntax e.g. lowercase letters, numbers, and hyphens)
# Vertex related env variables
export VERTEX_REGION="" # Location where you wish to perform your Vertex AI operations (e.g. us-central1, europe-west4, or asia-northeast1). Check: https://cloud.google.com/vertex-ai/docs/general/locations
export BUCKET_NAME="" # Staging bucket where all data associated with model resources and pipeline will be stored (will be created under your GCP project)
export PIPELINE_NAME="" # What you would like to name your pipeline
export MODEL_DISPLAY_NAME="" # Display name for the Vertex AI Model generated as a result of the training job
export ENDPOINT_DISPLAY_NAME="" # Display name for the Vertex AI Endpoint where the model is deployed
export MACHINE_TYPE="n1-standard-4" # Machine type for the serving container (defaults to "n1-standard-4")
export SERVING_CONTAINER_IMAGE_URI="us-docker.pkg.dev/vertex-ai/prediction/sklearn-cpu.0-24:latest" # NOTE: URI of the model serving container image. If unsure, don't change this value.
# Cleanup
export FORCE_DELETE_BUCKET="False" # If set to True, will attempt to empty the bucket before force deleting the staging bucket when running cleanup.py script (i.e. delete all resulting Vertex and model artifacts). Otherwise, bucket will be preserved when cleaning up other resources.