Skip to content

Instantly share code, notes, and snippets.

@b0noI
Last active July 28, 2019 01:10
Show Gist options
  • Save b0noI/3167e477db9bca30dd9007a9acf85e3e to your computer and use it in GitHub Desktop.
Save b0noI/3167e477db9bca30dd9007a9acf85e3e to your computer and use it in GitHub Desktop.
info:
title: AI Platform Notebook Template
author: Viacheslav V Kovalevskyi ([email protected])
description: Creates a new notebook instance
version: 1.0
imports:
- path: notebook_instance.jinja
properties:
zone:
type: string
description: Zone where notebook will be deployed
default: "us-central1-c"
machineType:
type: string
default: "g1-small"
description: "Type of the VM to use. Please see: https://cloud.google.com/compute/docs/machine-types"
imageFamily:
type: string
default: "common-cpu"
description: "Type of the Notebook to use. Please see: https://cloud.google.com/deep-learning-vm/docs/images"
proxy-mode:
type: string
enum: ["service_account", "mail"]
default: "service_account"
description: Access mode.
mail:
type: string
default: ""
description: Should be set ONLY if "proxy_mode" is set to "mail". Otehrwise no-op.
service-account:
type: string
default: ""
description: ServiceAccount to use with the Notebook instance. By default GCE service account is used.
gpu-type:
type: string
default: ""
enum: ["", "nvidia-tesla-t4", "nvidia-tesla-k80", "nvidia-tesla-p4", "nvidia-tesla-p100", "nvidia-tesla-v100"]
description: Accelerator to use.
gpu-count:
type: number
default: 1
description: Amount of accelerators to use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment