Last active
April 7, 2019 02:53
-
-
Save b0noI/2ab6b6398f1be065947bd3a99f912615 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You can use any branch but this article been tested with 0.1.2 only | |
| git clone https://github.com/gclouduniverse/gcp-notebook-executor.git --branch v0.1.2 | |
| cd gcp-notebook-executor | |
| source utils.sh | |
| INPUT_NOTEBOOK="./demo.ipynb" | |
| # Should be existing bucket | |
| GCP_BUCKET="gs://b0noi-tmp/test-execution/" | |
| IMAGE_FAMILY_NAME="tf-latest-gpu" | |
| INSTANCE_TYPE="n1-standard-8" | |
| GPU_TYPE="t4" | |
| GPU_COUNT=1 | |
| ZONE="us-west1-b" | |
| execute_notebook -i "${INPUT_NOTEBOOK}" \ | |
| -o "${GCP_BUCKET}" \ | |
| -f "${IMAGE_FAMILY_NAME}" \ | |
| -t "${INSTANCE_TYPE}" \ | |
| -z "${ZONE}" \ | |
| -g "${GPU_TYPE}" \ | |
| -c "${GPU_COUNT}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment