azureml-examples/cli/deploy-triton-managed-onlin...

66 строки
1.8 KiB
Bash
Исходник Постоянная ссылка Обычный вид История

set -e
BASE_PATH=endpoints/online/triton/single-model
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
# <installing-requirements>
pip install numpy
pip install tritonclient[http]
pip install pillow
pip install gevent
# </installing-requirements>
# <set_endpoint_name>
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
export ENDPOINT_NAME=triton-single-endpt-`echo $RANDOM`
# </set_endpoint_name>
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
# <create_endpoint>
az ml online-endpoint create -n $ENDPOINT_NAME -f $BASE_PATH/create-managed-endpoint.yaml
# </create_endpoint>
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
# <create_deployment>
az ml online-deployment create --name blue --endpoint $ENDPOINT_NAME -f $BASE_PATH/create-managed-deployment.yaml --all-traffic
# </create_deployment>
# <get_status>
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
az ml online-endpoint show -n $ENDPOINT_NAME
# </get_status>
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
# check if create was successful
endpoint_status=`az ml online-endpoint show --name $ENDPOINT_NAME --query "provisioning_state" -o tsv`
echo $endpoint_status
if [[ $endpoint_status == "Succeeded" ]]
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
then
echo "Endpoint created successfully"
else
echo "Endpoint creation failed"
exit 1
fi
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
deploy_status=`az ml online-deployment show --name blue --endpoint $ENDPOINT_NAME --query "provisioning_state" -o tsv`
echo $deploy_status
if [[ $deploy_status == "Succeeded" ]]
then
echo "Deployment completed successfully"
else
echo "Deployment failed"
exit 1
fi
# <get_scoring_uri>
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
scoring_uri=$(az ml online-endpoint show -n $ENDPOINT_NAME --query scoring_uri -o tsv)
scoring_uri=${scoring_uri%/*}
# </get_scoring_uri>
# <get_token>
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
auth_token=$(az ml online-endpoint get-credentials -n $ENDPOINT_NAME --query accessToken -o tsv)
# </get_token>
# <check_scoring_of_model>
python $BASE_PATH/triton_densenet_scoring.py --base_url=$scoring_uri --token=$auth_token --image_path $BASE_PATH/data/peacock.jpg
# </check_scoring_of_model>
# <delete_endpoint>
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
az ml online-endpoint delete -n $ENDPOINT_NAME --yes
# </delete_endpoint>