Update Kubernetes script
#
# See exp_fns.sh for the override params, and config/edgeprobe_*.conf
# for the base configs.
+#
+# To run on a particular cluster, authenticate to that cluster with:
+# gcloud container clusters get-credentials --zone <zone> <cluster_name>
set -e
# Default arguments.
GPU_TYPE="p100"
-PROJECT="edgeprobe"
+PROJECT=""
NOTIFY_EMAIL="iftenney@gmail.com"
# Handle flags.
@@ -34,6 +37,11 @@ shift $((OPTIND-1))
# Remaining positional arguments.
MODE=${1:-"create"}
+if [ -z $PROJECT ]; then
+ echo "You must provide a project name!"
+ exit 1
+fi
+
pushd "${PWD%jiant*}"/jiant
# Make a copy of the current tree in the project directory.
@@ -97,5 +105,6 @@ do
kuberun elmo-full-$task "elmo_full_exp edges-$task"
kuberun glove-$task "glove_exp edges-$task"
kuberun cove-$task "cove_exp edges-$task"
+ # kuberun openai-$task "openai_exp edges-$task"
done
