Comments (9)
Hi. I am having this problem as well. Any workaround?
from mlops-v2.
The template needs a fix
You will notice that the build_type was not setup or passed as a parameter to the register environment file that can be found here.
https://github.com/Azure/mlops-templates/blob/34dc9a07612cf920db5e1377a90f672b43ab8afd/.github/workflows/register-environment.yml
You can remove the build type or use a similar approach from classical template.
I will need to retest the pipelines to fix the error. Give me some time to test it and address this issue.
from mlops-v2.
Hi @Dan-RT, If you don't necessarily need to use Bicep and Azure DevOps, I would suggest referring to the guidance provided by this repository.
I have successfully built an MLOps engine using this guidance. However, please note that this project utilizes Terraform and GitHub Actions.
from mlops-v2.
Hi @setuc,
Thanks for info. I found another issue. It is missing /templates/aml-cli-v2/register-dataset.yml in mlops-templates repo. Any workaround?
from mlops-v2.
@patcharees let me review the CV templates to see what is causing these issues?
There is register dataset but CV doesnโt use that as we download the data on the fly. Do you have the error message that you get
from mlops-v2.
Below is my template mlops-project-template\cv\aml-cli-v2\mlops\devops-pipelines\deploy-model-training-pipeline.yml. You can see it requires register-dataset.yml. When I run this pipeline to deploy model training, I got this error
/mlops/devops-pipelines/deploy-model-training-pipeline.yml: File /templates/aml-cli-v2/register-dataset.yml not found in repository https://dev.azure.com/xxx/xxx/_git/mlops-templates branch refs/heads/main version fe222c36eaa8c0949d99e97e6ba5f17361f1f108.
as register-dataset.yml does not really exist in aml-cli-v2 folder
name: deploy-model-training-pipeline
variables:
- ${{ if eq(variables['Build.SourceBranchName'], 'main') }}:
- template: ../../config-infra-prod.yml
- ${{ if ne(variables['Build.SourceBranchName'], 'main') }}:
- template: ../../config-infra-dev.yml
- name: version
value: aml-cli-v2
trigger: none
pool:
vmImage: ubuntu-20.04
resources:
repositories:
- repository: mlops-templates # Template Repo
name: mlops-templates
type: git
ref: main
stages:
- stage: DeployTrainingPipeline
displayName: Deploy Training Pipeline
jobs:- job: DeployTrainingPipeline
steps:- checkout: self
path: s/ - task: Bash@3
displayName: "Create checkout repository folder(s)"
inputs:
targetType: "inline"
script: |
set -e
mkdir "$(Build.Repository.Name)"
mkdir "mlops-templates" - checkout: mlops-templates
path: s/templates/ - template: templates/${{ variables.version }}/install-az-cli.yml@mlops-templates
- template: templates/${{ variables.version }}/install-aml-cli.yml@mlops-templates
- template: templates/${{ variables.version }}/connect-to-workspace.yml@mlops-templates
- template: templates/${{ variables.version }}/create-compute.yml@mlops-templates
parameters:
cluster_name: gpu-cluster
size: Standard_NC6
min_instances: 0
max_instances: 1
cluster_tier: dedicated - template: templates/${{ variables.version }}/register-environment.yml@mlops-templates
parameters:
build_type: docker
environment_name: nvidia_pytorch # Not used for docker builds
environment_file: mlops/azureml/train/train-env.yaml - template: templates/${{ variables.version }}/register-dataset.yml@mlops-templates
parameters:
data_type: training
environment_file: mlops/azureml/train/create_stanford_dogs_dataset.yaml - template: templates/${{ variables.version }}/run-pipeline.yml@mlops-templates
parameters:
pipeline_file: mlops/azureml/train/pipeline.yaml
experiment_name: $(environment)cv_train$(Build.SourceBranchName)
display_name: $(environment)cv_run$(Build.BuildID)
- checkout: self
- job: DeployTrainingPipeline
from mlops-v2.
Hi guys, I am facing the same bug with the same settings, @setuc did you get the chance to look at this issue?
@changwei0314 @patcharees did one of you figure out a workaround? @changwei0314 I saw you have a similar project but using terraform and github
from mlops-v2.
@Dan-RT Try removing build-type from the line 58 here
I will issue a patch for it.
from mlops-v2.
@changwei0314 @Dan-RT Is Bicep really a priority for you?
from mlops-v2.
Related Issues (20)
- No deploy-model-training-pipeline.yml or other examples for Python SDK v2 HOT 2
- Update documentation for Github Action deployment HOT 1
- run the model-deploy-pipeline github action workflow automatically on completion of model-training-pipeline gha workflow
- Python SDK v2 option is not working
- Environments are not created automatically (Prod &Dev) on Azure DevOps Pipelines HOT 2
- When "config-infra-prod.yml" file is changed, 3 pipelines are automatically triggered and failed. HOT 2
- Review added
- Repository mlops-templates references endpoint github-connection which does not exist or is not authorized for use HOT 4
- Missing /mlops/azureml/train/data.yml (ADO/classical) HOT 1
- Using sweep in the train pipeline errors out HOT 1
- Azure DevOps - Error Deploying Online Endpoint - ResourceNotReady: User container has crashed or terminated: Liveness probe failed: HTTP probe failed with statuscode: 502 HOT 1
- RAI Insights Dashboard Constructor step fails
- Any support or suggestion of initializing a ML repo with your codes locally and create related pipelines? HOT 5
- Github Action Deprecated HOT 3
- CV Job Fails with error in train.py (standard project template) HOT 2
- Jenkins Pipeline HOT 1
- Accelerator Azure Devops instructions steps 3.5.2 & 3.5.3 misleading HOT 3
- Deploying Infrastructure via Azure DevOps HOT 6
- Accelerator guide ADO with Terraform misses creation of dev AML environment HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlops-v2.