-
Notifications
You must be signed in to change notification settings - Fork 2
/
project_vars.sh
43 lines (43 loc) · 1.75 KB
/
project_vars.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
################################################
# docker project variables
################################################
export NAMESPACE="criticalmaas-ta3"
export SYSTEM_NAME="sri-maper"
export SYSTEM_VERSION="0.0.1"
export SYSTEM_DESCRIPTION="SRI MAPER - Mineral Assessment Platform with Explainable Representations"
export MODEL_NAME="MAE"
export MODEL_VERSION="0.0.1"
################################################
# the token that is used to authenticate with the CDR
################################################
export CDR_TOKEN=""
export CDR_HOST="https://api.cdr.land"
export NGROK_AUTHTOKEN=""
export NGROK_SECRET=""
export NGROK_PORT="80"
################################################
# docker user variables
################################################
export JOB_TAG="-dev-cdr-integration-test" # meaninful name for THIS job e.g. "-dev"
export REPO_HOST="open.docker.sarnoff.com" # docker repo e.g. "open.docker.sarnoff.com"
export DUSER=${USER} # username, default is for SRI's setup
export WANDB_API_KEY=""
################################################
# running docker locally variables
################################################
export PROJ_ROOT=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) # default code path
export DATA_PATH=${PROJ_ROOT}/data # default data path
export LOGS_PATH=${PROJ_ROOT}/logs # default logs path
export SRC_PATH=sri_maper
################################################
# running docker on k8s variables
################################################
# requested machine configuration
export NGPU=1
export GPU_TYPE="A5000" # "2080Ti" "A5000"
export TOTAL_CPU=8
export TOTAL_MEM=64
export MODE="run"
export SECRET="docker-io-secret"
export K8_SRC_PATH=$(basename ${PROJ_ROOT})/${SRC_PATH}