azureml-examples/cli/train-rest.sh

149 строки
6.8 KiB
Bash
Исходник Обычный вид История

update examples for CLI (v2) public preview refresh (#890) * update setup to use preview CLI * Create setup.sh * update schemas to preview * Update setup.sh * Update setup.sh * Update setup.sh * Update setup.sh * Update setup.sh * add environment examples (#736) * Create docker image example * Rename docker image example to docker_image.yml * Create Dockerfile * Create docker_context.yml * refactor and updates * update creds, readme, workflows * fix * remove workflow * fix mistake * fix Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * Update docker-context.yml (#739) * Update setup.sh * Update setup.sh * Update setup.sh * Update setup.sh * major jobs refactor; add pipeline job (#745) * add basic and nyc taxi pipelines samples under jobs * major refactor * minor edit * minor edit * save * remove sweep dir * update inputs outputs and compute for cli 0.7 * update component yamls nyc taxi example Co-authored-by: Sharmeelee Bijlani <shbijlan@microsoft.com> * Create simple-compute-cluster.yml (#748) * update compute cluster examples (#752) * update compute examples * shorten name * low_priorty -> lowpriority * add locaiton example * add compute-instance * remove instances from testing * refactor jobs; add simple pipeline examples (#753) * refactor jobs * save * pipeline edits * switch to canary * switch to eastus * fully test * switch back to master * reduce python-sdk testing freq; cli and setup cleanup (#759) * repo health * rerun readme * environment example updates (#760) * remove version pinning; add version pinning * edits * Update setup.sh * add workflow_dispatch: to cli workflows (#761) * touch setup.sh * add workflow_dispatch: to cli jobs * Update setup.sh * Update setup.sh * fix low priority compute example (#762) * Update setup.sh * public preview refresh changes (#750) * fixes * changes * revert setup.sh changes * latest cli * cli changes * update dir structure * update name * update cli version * cli version * cli version * cleanup * update comments Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * Update setup.sh * drop _job (#772) * Add files via upload * fix validation scripts for user specified identity and system assigned identity (#747) * fix sai + uai scripts * remove set x * fix workspace name * fix arg * fix rest * add sku * change credentials to mir * touch * add check * add extra line ending * add object info to role assignment * forgotten vars * fix role assignment * fix other role assignments * use latest version of sdk * fix arm calls * remove hardcoded vals * fix hardcoded values * replace endpoint name with var * add euap location * remove pined version of cli * fix sai role assignment * update credential logic in readme for uai, sai * format code * fixed comments * cleaned up * cleanup * revert * fix tags * fix uai Co-authored-by: max <public.max@outlook.com> Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * clean up nyc taxi pipeline (#773) * update sweep timeout (#778) * pin badges to main branch (#779) * pin badges to main branch * save * switch testing to master * manually update schemas * Update setup.sh * Update PyTorch example (#791) * Update setup.sh * add cifar-10 pipeline example (#794) * save * save - training updates * remove cifar from untested jobs * save * save * switch setup to eastus * set CR to false * fix some jobs * update readme * save * save * fix setup * run readme * add data copy script * edit * edit * save * save * fix * save * edit cifar loc * fix * fix * Update setup.sh * batch GA samples (#722) * batch score GA samples * update batch * update batch * update batch sample * update anon env * move non mlflow up * update test flow * clean up batch sample * update batch sample * update schema ref * rename yml files * update yml file name * minor update * Update setup.sh * Update workspace CLI examples (#767) * Update workspace CLI examples * updating examples per PR feedback * property ordering and update app insights attr fix * include example on adding private link endpoint * include private link example * simplify ple example * disabled in capital and consistent resource suffix * consisten resource names * save * fix * add ws delete * fixes * fix * fix * remove workspace script Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * add diabetes data * fix * fix * save * Fixed typo in snippet (#796) * pipelines-with-components basic examples (#777) * pipelines-with-components * data samples * tf hello world * create components and dataset in repo setup * pytorch hello world * update readme; format code * update create-datasets.sh * fix readme; remove unused job; run readme * add missing files * setup updates Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * create variables (#799) * local endpoint test script (#804) * script for local endpoint * local endpoint * Added Dataset and Datastore YAML samples. (#800) * Added Dataset and Datastore YAML samples. * Updated README files. * renames and minor updates * Updated Dataset samples README. Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * standardization and fixes (#805) * update schemas * update assets * update resources * update setup-repo * save * udpate assets * update run logic (#806) * update schemas * update assets * update resources * update setup-repo * save * udpate assets * update run logic * omit run-job.sh * print job uri * remove workflow * edit run-job.sh * update run-job.sh * update run-job.sh * fix cifar pipeline (#809) * Update setup.sh * ; => : (#812) * model-dir => model_dir (#813) * update run-job.sh * mount => ro_mount (#814) * fix nyc-taxi pipeline example (#815) * ever feel stupid? I feel stupid * fix 4d_dataset_input (#816) * clean up batch endpoints (#817) * switch RG (#818) * Update setup.sh * format code * update jobs and things (#822) * save * save * save * save * save * save * save * save * format code * remove cli/jobs/basics/data * save * save * save * update * fix * minor edit * edit * switch to eastus * format code * Add functional Batch Endpoint REST sample (#820) * add batch score rest sample * add git workflow * update REST sample * update sample * Functional October batch REST sample -- score from Dataset failing on request * Clean up script * run readme * Fix some quoting issues * reset location * Fix modelUri * Fail early if job submit failed * Reset readme.py * Fix location to be based on workspace * Add other terminal state Co-authored-by: Tracy Chen <47156502+tracychms@users.noreply.github.com> Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * minor edits * save * update * job updates (#824) * save * updates * minor updates * minor update * fix cifar dataset * Update hello-iris-file.yml * fixes (#827) * fixes * fix * fix * add docker context job example for sklearn (#828) * add docker context job example for sklearn * run readme * change image * Add missing section opener (#829) Missing opening comment for create_environment * minor edit * remove arc examples (#830) * save * add hello-code * autoscale (#832) * fix unique output (#831) * fix unique output * fix unique output * beautify json * update REST invoke * fix typo * remove delete prompt * unique output folder * add deployment delete * consistency edits (#834) * --set experiment_name in train.sh (#835) * fix instance (#836) * minor consistency edits (#837) * removing aks sample from cli-preview (#844) * Update torchserve BYOC sample (#845) * add notebooks via papermill job examples (#847) * add notebooks via papermill job examples * output notebook to ./outputs/ * fix tag (#848) * byoc tfserving sample (#853) * byoc tfserving sample * deployment name fix * r-byoc-update (#854) * Update setup.sh * update * update * update vm attach example (#855) * Revert "update vm attach example" (#856) This reverts commit f3a7efe4fa0e919582aaf5c4ae206368dbc1470b. * add env version for component examples (#858) * fix typo in directory; rw-mount to rw_mount (#859) * fix spark example (#857) * fix spark example * save * try pin pip * ? * try older pip * pin image * format code * update rest sample (#861) * update rest sample * fix format * fix typo * fix output path * update outputdataset to output * update output * move dask to named output * add tag for wait (#866) * Fixing closing region tag (#867) read_condafile section tags were not correctly closed. * swap install steps in setup.sh * edit comment * run black * remove CIs from refresh testing (#873) * add defaults list to misc script (#874) * https => wasbs for dask folder example (#875) * https => wasbs for dask folder example * test moving container * Adding MLflow sample for online endpoints (#872) * Adding MLflow sample for online endpoints * run readme.py * run black * Revert "run black" This reverts commit b649bb564df6eecfe3118d6ab0d74268c6c680f3. * updating sh file * Adding MLflow model deployment sample * Updating files to be consistent * updating .sh file * updating deployment YAML and .sh file * adding debug flag for model delete * updating YAML and .sh script * updating .sh script Co-authored-by: Cody <54814569+lostmygithubaccount@users.noreply.github.com> * Update triton samples to ncd - single model (#876) * Update triton samples to ncd - single model * minor spelling error * addressing build failures -1 * addressing build failures -2 * addressing missing dependencies * adding missing dependency 2 * update pip install tritonclient[http] * addressing build failures * minor update to tags (#877) * remove extra triton examples (#881) * remove flaml notebook action * add ssh settings to vm attach (#883) * remove .schemas; consistency edit to scripts (#887) * remove .schemas * consistency edit * remove unused workflow * switch cli install to public * remove broken job (#892) * fix merge issues * fix job logic Co-authored-by: Saachi Gopal <sg932@cornell.edu> Co-authored-by: Sharmeelee Bijlani <shbijlan@microsoft.com> Co-authored-by: vijetajo <40418529+vijetajo@users.noreply.github.com> Co-authored-by: Sethu Raman <rsethur@users.noreply.github.com> Co-authored-by: Bala P V <33712765+balapv@users.noreply.github.com> Co-authored-by: max markin <maxormo@gmail.com> Co-authored-by: max <public.max@outlook.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Tracy Chen <47156502+tracychms@users.noreply.github.com> Co-authored-by: Dennis Eikelenboom <mail@denniseik.nl> Co-authored-by: Larry O'Brien <lobrien@knowing.net> Co-authored-by: Manoj Bableshwar <manoj.bableshwar@outlook.com> Co-authored-by: Yogi Pandey <20666257+ynpandey@users.noreply.github.com> Co-authored-by: Christopher Pirillo <pirillo.chris@gmail.com> Co-authored-by: Larry Franks <larry.franks@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Daniel Schneider <daniel.schneider@microsoft.com>
2021-11-04 17:46:46 +03:00
exit 0 # TODO - update script to new API
# <create_variables>
SUBSCRIPTION_ID=$(az account show --query id -o tsv)
LOCATION=$(az group show --query location -o tsv)
RESOURCE_GROUP=$(az group show --query name -o tsv)
WORKSPACE=$(az configure -l --query "[?name=='workspace'].value" -o tsv)
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
API_VERSION="2022-02-01-preview"
COMPUTE_NAME="cpu-cluster"
TOKEN=$(az account get-access-token --query accessToken -o tsv)
#</create_variables>
echo "Using:\nSUBSCRIPTION_ID: $SUBSCRIPTION_ID\nLOCATION: $LOCATION\nRESOURCE_GROUP: $RESOURCE_GROUP\nWORKSPACE: $WORKSPACE"
# define how to wait
wait_for_completion () {
# TODO error handling here
job_status="unknown"
while [[ $job_status != "Completed" && $job_status != "Failed" && $job_status != "Canceled" ]]
do
echo "Getting job status from: $1"
job=$(curl --location --request GET "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/jobs/$1?api-version=$API_VERSION" \
--header "Authorization: Bearer $TOKEN")
# TODO error handling here
job_status=$(echo $job | jq -r '.properties.status')
echo "Current job status: $job_status"
sleep 5
done
}
# Get values for storage account
response=$(curl --location --request GET "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/datastores?api-version=$API_VERSION&isDefault=true" \
--header "Authorization: Bearer $TOKEN")
# <get_storage_details>
AZUREML_DEFAULT_DATASTORE=$(echo $response | jq -r '.value[0].name')
AZUREML_DEFAULT_CONTAINER=$(echo $response | jq -r '.value[0].properties.contents.containerName')
export AZURE_STORAGE_ACCOUNT=$(echo $response | jq -r '.value[0].properties.contents.accountName')
# </get_storage_details>
# <read_condafile>
CONDA_FILE=$(cat jobs/train/lightgbm/iris/environment.yml)
# <read_condafile>
# <create_environment>
ENV_VERSION=$RANDOM
curl --location --request PUT "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/environments/lightgbm-environment/versions/$ENV_VERSION?api-version=$API_VERSION" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data-raw "{
\"properties\":{
\"condaFile\": \"$CONDA_FILE\",
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"image\": \"mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04\"
}
}"
# </create_environment>
#<create_data>
DATA_VERSION=$RANDOM
curl --location --request PUT "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/data/iris-data/versions/$DATA_VERSION?api-version=$API_VERSION" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data-raw "{
\"properties\": {
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"description\": \"Iris dataset\",
\"dataType\": \"UriFile\",
\"dataUri\": \"https://azuremlexamples.blob.core.windows.net/datasets/iris.csv\"
}
}"
#</create_data>
az storage blob upload-batch -d $AZUREML_DEFAULT_CONTAINER/src -s jobs/train/lightgbm/iris/src
#<create_code>
curl --location --request PUT "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/codes/train-lightgbm/versions/1?api-version=$API_VERSION" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data-raw "{
\"properties\": {
\"description\": \"Train code\",
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"codeUri\": \"https://trainws1352661735.blob.core.windows.net/training-scripts/main.py\"
}
}"
#</create_code>
# <create_job>
run_id=$(uuidgen)
curl --location --request PUT "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/jobs/$run_id?api-version=$API_VERSION" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data-raw "{
\"properties\": {
\"jobType\": \"Command\",
\"codeId\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/codes/train-lightgbm/versions/1\",
\"command\": \"python main.py --iris-csv \$AZURE_ML_INPUT_iris\",
\"environmentId\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/environments/lightgbm-environment/versions/$ENV_VERSION\",
\"inputDataBindings\": {
\"iris\": {
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"jobInputType\": \"UriFile\",
\"uri\": \"https://azuremlexamples.blob.core.windows.net/datasets/iris.csv\"
}
},
\"experimentName\": \"lightgbm-iris\",
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"computeId\": "/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/computes/$COMPUTE_NAME\"
}
}"
# </create_job>
wait_for_completion $run_id
# <create_a_sweep_job>
run_id=$(uuidgen)
curl --location --request PUT "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/jobs/$run_id?api-version=$API_VERSION" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data-raw "{
\"properties\": {
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"samplingAlgorithm\": {
\"samplingAlgorithmType\": \"Random\",
},
\"jobType\": \"Sweep\",
\"trial\":{
\"codeId\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/codes/train-lightgbm/versions/1\",
\"command\": \"python main.py --iris-csv \$AZURE_ML_INPUT_iris\",
\"environmentId\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/environments/lightgbm-environment/versions/$ENV_VERSION\"
},
\"experimentName\": \"lightgbm-iris-sweep\",
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"computeId\": \"target\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/computes/$COMPUTE_NAME\",
\"objective\": {
\"primaryMetric\": \"test-multi_logloss\",
\"goal\": \"minimize\"
},
\"searchSpace\": {
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"learning_rate\": [\"uniform\", [0.01, 0.9]],
\"boosting\":[\"choice\",[[\"gbdt\",\"dart\"]]]
},
March CLI Breaking Changes (#1020) * remove component job, flatten code (#1002) * Update .gitignore * Addressing CLI breaking changes * adding uri_file to path * adding uri_file type to paths * adding uri_file and uri_folder * Updating basic pipeline jobs * Update hello-pipeline-default-artifacts.yml * Lochen/cli march (#1009) * remove component job, flatten code * add r component sample * Online deployment changes * Batch Deployment Changes * Bug fixes to YAML * Update REST API examples to Feb API (#1013) Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> * minor fix * resolve yaml error * environment name and version as optional in custom containers (#1016) * minor updates (#1017) * Lochen/cli march (#1019) * remove component job, flatten code * add r component sample * update cli * Updates to cifar example * Adding daily build of CLI for testing * Updating from dataset to data for create * Rename folder from asset/datasets to assets/data * Updating data assets to use data schema directive instead of dataset * rename description to data asset * Changing github workflows to use the new data assets * removing dataset from md files * Update README.md * Removing local_path from examples * Fixing python:latest bug with workaround * Update prefix.md * Lochen/cli march (#1027) * remove component job, flatten code * add r component sample * update cli * update after test * Updating environments to use latest version * Updating environment to us latest * Update setup.sh * Test * streamline register from a run (#1024) * streamline register from a run * update to MLflow specific * Lochen/cli march (#1031) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * Lochen/cli march (#1032) * remove component job, flatten code * add r component sample * update cli * update after test * add default_compute, dataset * fix default compute, sweep * fix default settings on pipeline * Using the new build for CLI * Update requirements.txt (#1033) * Updating to Build # 58490278 * Fixing filenames in the workflows. * Fixing file name in train.sh * add default value in pipeline settings. * update default value * change data asset * update job link in readme * Updating to latest CLI build * Merge latest changes from main related to cli/jobs/single-step/gpu_perf/ command (#1037) * pick and choose changes from main * align, add readme * Update create-datasets.sh * Updating to latest build * Update README.md * Update README.md * Fixing failures in CLI * Dummy commit to re-run tests * fix to align with resource in test ws * change 4d to use uri_folder * upgrade dependencies, use fastparquet to fix pyarrow issue (#1043) * Upgrading to latest build * merge datastore uri sample * fix file script * Users/anksing/mlflow model mir deploy (#1047) * Adding example for OBO flow using v2 cli * Updating sklearn model for MIR deployment * Updating lightgbm mlflow model for MIR deployment * Removing obo folder * Users/anksing/mlflow mir deployment (#1048) * Adding example for OBO flow using v2 cli * Renaming model to avoid conflict with existing model with same name * Removing obo folder * Update batch-score.sh Adding az version check. * Updating model name to avoid conflict (#1049) * change cifar to directly use command * add image classification cli example * Updating to latest build * Making setup files Unix friendly by removing \r * Update endpoint.yml remove the properties config -- we are not exposing in v2 * Update blue-deployment.yml Removed properties field - not exposing user-configurable properties metadata in V2 * Dummy Commit to force tests * update pipeline cifar to make it work under cpu-cluster * update cifar sample to support cpu sku * change 5c to cpu image * clean up yaml, change cpu image for cifar * Updating to latest build * Update README.md * formatting python files to ensure smoke test does not fail * update workflow (#1064) Co-authored-by: Han Wang <wanhan@microsoft.com> * Wanhan/add image classification CI (#1065) * add image classification ci * fix create component Co-authored-by: Han Wang <wanhan@microsoft.com> * fix image classification ci (#1066) Co-authored-by: Han Wang <wanhan@microsoft.com> * Update entry.py * Update top latest build * resolve merge conflict * update to v2 dsl.component * update train step (#1071) Co-authored-by: Han Wang <wanhan@microsoft.com> * Updating to latest build * Update README.md * Update README.md * remove pyjokes in source file * recover sample to test CI * add component CRUD sample in assets * Updating to new build * Update setup.sh * Changing readme temporarily to show march status * Examples for workspace connections (#1073) * Create python-feed-pat.yml * More examples * Create README.md * Update README.md * update component name, add CI workflow * update readme for asset component * Update setup.sh * Add yml for scheduled start stop of CI Add yml for scheduled start stop of CI * Delete instance-schedule.yml * fix: fix attr overwrite command (#1074) * fix: fix attr overwrite command add pipeline job test shell * fix: fix attr overwrite command * fix: create data with random version Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Updating to latest build * Running tests on canary * Trying to run test cases in master * Reverting back to eastus * Testing a new secret file * Delete test-new-creds.yml * Running tests on master * Update job.yml (#1083) * Run tests in canary * remove old dataset sample * change process per node to 1 for cifar in pipeline * add note to use multi-gpu cards * Running latest build on eastus * Update README.md * fix sample issue to workaround output empty folder case * Updating to latest build and testing in eastus * Cleaning up all GitHub Workflows and the README file * Update setup.sh * Update dev-requirements.txt * Fixing formatting issue so that black does not error * Updating to the RC build * change component name (#1075) * change component name * rename * add march-cli-preview in pipeline CI * update registered case * swith CI to master * add back component creation * update 3b to use rw_mount (#1097) * fix: fix run-pipeline-jobs.sh * change upload mode to rw_mount Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> * Update README.md * remove pipeline sample (#1102) * temp delete 2 samples * remove reference links Co-authored-by: Anthony Hu <anthu@microsoft.com> * Fixing workflows and getting ready for merge to main Co-authored-by: Cloga Chen <cloga0216@gmail.com> Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com> Co-authored-by: Kayla Ames <kseager@users.noreply.github.com> Co-authored-by: Clement Wang <clwan@microsoft.com> Co-authored-by: Shivani Santosh Sambare <61255242+shivanissambare@users.noreply.github.com> Co-authored-by: Paul Shealy <paulsh@microsoft.com> Co-authored-by: Abraham Omorogbe <abrahamomor@gmail.com> Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com> Co-authored-by: Jeff Omhover <jf.omhover@gmail.com> Co-authored-by: Hugo Aponte <haponte@gmail.com> Co-authored-by: Lisa Li (STC) <lisal@microsoft.com> Co-authored-by: mx-iao <33701412+mx-iao@users.noreply.github.com> Co-authored-by: Anthony Hu <anthu@microsoft.com> Co-authored-by: Han Wang <phoenix.seek@gmail.com> Co-authored-by: Han Wang <wanhan@microsoft.com> Co-authored-by: Honglin Du <0mza987@gmail.com> Co-authored-by: Roope Astala <rastala@users.noreply.github.com> Co-authored-by: Swati Gharse <36742198+swatig007@users.noreply.github.com> Co-authored-by: elliotzh <37076709+elliotzh@users.noreply.github.com> Co-authored-by: zhangxingzhi <zhangxingzhi@microsoft.com> Co-authored-by: eniac871 <supereniac@live.com>
2022-04-04 20:14:29 +03:00
\"limits\": {
\"jobLimitsType\": \"sweep\",
\"maxTotalTrials\": 20,
\"maxConcurrentTrials\": 10,
}
}
}"
# </create_a_sweep_job>
wait_for_completion $run_id