-
Notifications
You must be signed in to change notification settings - Fork 1.1k
cleaner variables incl variable template #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dtzar
merged 6 commits into
microsoft:master
from
dariuszparys:dparys/279075-variable-template
Nov 20, 2019
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
27a0eb4
Refactoring Variable Code Base Usage
b17b30a
Adding Workspace in Variable Group
e285ec1
Default WORKSPACE_NAME definition
3b0a4db
Extended Getting Started Documentation
c683af7
Incorporated feedback
cc9fed1
Modified Getting Started Document
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| 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 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
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
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
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
| 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 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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.