-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5372bb0
commit 1eb4a42
Showing
18 changed files
with
328 additions
and
221 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,39 @@ | ||
# Azure Subscription Variables | ||
SUBSCRIPTION_ID = '' | ||
LOCATION = '' | ||
LOCATION = 'westeurope' | ||
TENANT_ID = '' | ||
BASE_NAME = '' | ||
SP_APP_ID = '' | ||
SP_APP_SECRET = '' | ||
RESOUCE_GROUP = 'mlops-rg' | ||
|
||
# Mock build/release ID for local testing - update ReleaseID each "release" | ||
BUILD_BUILDID = '001' | ||
RELEASE_RELEASEID = '001' | ||
|
||
# Azure ML Workspace Variables | ||
WORKSPACE_NAME = '' | ||
EXPERIMENT_NAME = '' | ||
SCRIPT_FOLDER = './' | ||
|
||
# AML Compute Cluster Config | ||
AML_COMPUTE_CLUSTER_NAME = '' | ||
AML_COMPUTE_CLUSTER_CPU_SKU = '' | ||
AML_CLUSTER_MAX_NODES = '' | ||
AML_CLUSTER_MIN_NODES = '' | ||
AML_COMPUTE_CLUSTER_NAME = 'train-cluster' | ||
AML_COMPUTE_CLUSTER_CPU_SKU = 'STANDARD_DS2_V2' | ||
AML_CLUSTER_MAX_NODES = '4' | ||
AML_CLUSTER_MIN_NODES = '0' | ||
AML_CLUSTER_PRIORITY = 'lowpriority' | ||
# Training Config | ||
MODEL_NAME = 'sklearn_regression_model.pkl' | ||
MODEL_VERSION = '1' | ||
TRAIN_SCRIPT_PATH = 'training/train.py' | ||
# AML Pipeline Config | ||
TRAINING_PIPELINE_NAME = '' | ||
PIPELINE_CONDA_PATH = 'aml_config/conda_dependencies.yml' | ||
TRAINING_PIPELINE_NAME = 'Training Pipeline' | ||
MODEL_PATH = '' | ||
EVALUATE_SCRIPT_PATH = 'evaluate/evaluate_model.py' | ||
REGISTER_SCRIPT_PATH = 'register/register_model.py' | ||
SOURCES_DIR_TRAIN = 'code' | ||
|
||
# These are not mandatory for the core workflow | ||
# Remote VM Config | ||
REMOTE_VM_NAME = '' | ||
REMOTE_VM_USERNAME = '' | ||
REMOTE_VM_PASSWORD = '' | ||
REMOTE_VM_IP = '' | ||
# Image config | ||
IMAGE_NAME = '' | ||
IMAGE_DESCRIPTION = '' | ||
IMAGE_VERSION = '' | ||
# ACI Config | ||
ACI_CPU_CORES = '' | ||
ACI_MEM_GB = '' | ||
ACI_DESCRIPTION = '' | ||
|
||
# Optional. Used by a training pipeline with R on Databricks | ||
DB_CLUSTER_ID = '' | ||
DATABRICKS_COMPUTE_NAME = '' | ||
|
||
# Optional. Container Image name for image creation | ||
IMAGE_NAME = 'ml-trained' |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
variables: | ||
# Azure ML Workspace Variables | ||
- name: EXPERIMENT_NAME | ||
value: mlopspython | ||
# AML Compute Cluster Config | ||
- name: AML_COMPUTE_CLUSTER_CPU_SKU | ||
value: STANDARD_DS2_V2 | ||
- name: AML_COMPUTE_CLUSTER_NAME | ||
value: train-cluster | ||
- name: AML_CLUSTER_MIN_NODES | ||
value: 0 | ||
- name: AML_CLUSTER_MAX_NODES | ||
value: 4 | ||
- name: AML_CLUSTER_PRIORITY | ||
value: lowpriority | ||
# Training Config | ||
- name: BUILD_TRAIN_SCRIPT | ||
value: build_train_pipeline.py | ||
- name: TRAIN_SCRIPT_PATH | ||
value: training/train.py | ||
- name: MODEL_NAME | ||
value: sklearn_regression_model.pkl | ||
- name: MODEL_VERSION | ||
value: '1' | ||
# AML Pipeline Config | ||
- name: TRAINING_PIPELINE_NAME | ||
value: 'Training Pipeline' | ||
- name: MODEL_PATH | ||
value: '' | ||
- name: EVALUATE_SCRIPT_PATH | ||
value: evaluate/evaluate_model.py | ||
- name: REGISTER_SCRIPT_PATH | ||
value: register/register_model.py | ||
- name: SOURCES_DIR_TRAIN | ||
value: code | ||
- name: IMAGE_NAME | ||
value: '' | ||
# Optional. Used by a training pipeline with R on Databricks | ||
- name: DB_CLUSTER_ID | ||
value: '' |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.