Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artefact migration between AML workspaces #26

Open
FlorianPydde opened this issue Oct 28, 2021 · 2 comments
Open

Artefact migration between AML workspaces #26

FlorianPydde opened this issue Oct 28, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@FlorianPydde
Copy link
Collaborator

Currently the template reruns the scripts in different environments. Although it ensures that automate retraining process works, this functionality should be defined as an integration test on a sample set rather than a mean of promoting artefacts. The template needs to implement a process that download and reuploads artefacts to the next AML workspace. This will lower cost and time to production.

@FlorianPydde FlorianPydde added the enhancement New feature or request label Oct 28, 2021
@mariamedp mariamedp assigned mvbugge and unassigned MSharman Sep 7, 2022
@mvbugge
Copy link

mvbugge commented Nov 10, 2022

@mariamedp does this mean that retraining is only performed in dev? In some architectures which require more secure separation of prod data, retraining in prod or pre-prod may be preferred.

Perhaps it would help if you could specify what you expect the artefacts to be :)

@mariamedp mariamedp changed the title Artefact migration from dev to prod AML workspace Artefact migration between AML workspaces Nov 11, 2022
@mariamedp
Copy link
Member

mariamedp commented Nov 11, 2022

Update as per offline conversation with @mvbugge:

  • We'll create a YAML template to support artefact migration between AML workspaces that can be easily used as part CI/CD pipelines.
  • We'll build a new modeling pipeline PIPELINE-1b-modeling-<name tbd>.yml to showcase the flow of artifact migration. The reason for this is that this will be a more complex pipeline and won't be needed in all cases, so we'll have it as separate example.
  • The example pipeline will incorporate a third environment, TEST. Changes against any feature branch will be triggered in DEV as in 1-modeling. Changes against main will be triggered in TEST first, then the model artifact will be migrated to PROD, and deployment will happen in PROD as well. Moving from DEV to PROD is not a safe practice since artifacts in DEV have not been generated with code in the main branch, so that's why we avoid showcasing that flow in the template and use a third TEST env instead.
  • This will also allow us to show the flow of having a sequence of environments TEST -> (...) -> PROD to be used against the same branch (main), which is a functionality that has been on our radar since the beginning, and I believe was requested here as well Feature Request - Provide High Level Deployment method to higher environments #65.

My suggestion for pipeline name: PIPELINE-1b-modeling-with-TEST-env.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants