{"id":15663017,"url":"https://github.com/sayakpaul/ci-cd-for-model-training","last_synced_at":"2025-05-06T02:33:28.344Z","repository":{"id":47528248,"uuid":"398211234","full_name":"sayakpaul/CI-CD-for-Model-Training","owner":"sayakpaul","description":"This repository holds files and scripts for incorporating simple CI/CD practices for model training in ML.","archived":false,"fork":false,"pushed_at":"2021-10-26T02:04:56.000Z","size":733,"stargazers_count":21,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T01:13:27.110Z","etag":null,"topics":["ci-cd","cloud-build","cloud-functions","cloud-scheduler","gcp","kubeflow-pipelines","mlops","model-training","pub","tensorflow-extended","vertex-ai"],"latest_commit_sha":null,"homepage":"https://cloud.google.com/blog/topics/developers-practitioners/model-training-cicd-system-part-ii","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sayakpaul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-20T08:40:32.000Z","updated_at":"2025-02-09T18:54:55.000Z","dependencies_parsed_at":"2022-07-21T02:48:42.647Z","dependency_job_id":null,"html_url":"https://github.com/sayakpaul/CI-CD-for-Model-Training","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayakpaul%2FCI-CD-for-Model-Training","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayakpaul%2FCI-CD-for-Model-Training/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayakpaul%2FCI-CD-for-Model-Training/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayakpaul%2FCI-CD-for-Model-Training/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayakpaul","download_url":"https://codeload.github.com/sayakpaul/CI-CD-for-Model-Training/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252609909,"owners_count":21775901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","cloud-build","cloud-functions","cloud-scheduler","gcp","kubeflow-pipelines","mlops","model-training","pub","tensorflow-extended","vertex-ai"],"created_at":"2024-10-03T13:35:14.766Z","updated_at":"2025-05-06T02:33:28.296Z","avatar_url":"https://github.com/sayakpaul.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI/CD for Model Training in ML\n\nThis repository holds files and scripts for incorporating simple CI/CD practices for model training in ML. Following\nresources have been used to prepare the files under the `build` directory:\n\n* [Vertex AI Training with TFX and Vertex Pipelines](https://www.tensorflow.org/tfx/tutorials/tfx/gcp/vertex_pipelines_vertex_training)\n* [MLOps with Vertex AI by GCP](https://github.com/GoogleCloudPlatform/mlops-with-vertex-ai)\n\nAnother accompanying repository for doing CI/CD for model training can be found here: [deep-diver/Model-Training-as-a-CI-CD-System](https://github.com/deep-diver/Model-Training-as-a-CI-CD-System). \n\nThis repository acts as a sister repository to [deep-diver/Model-Training-as-a-CI-CD-System](https://github.com/deep-diver/Model-Training-as-a-CI-CD-System). It's recommended that one goes through this repository with the accompanying blog post from Google Cloud: [Model training as a CI/CD system: Part II](https://cloud.google.com/blog/topics/developers-practitioners/model-training-cicd-system-part-ii). The figures below schematically present what this project implements:\n\nWe first get a compiled pipeline specification for model re-training capable of accepting hyperparameter values as [`RuntimeParameters`](https://www.tensorflow.org/tfx/api_docs/python/tfx/v1/dsl/experimental/RuntimeParameter):\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=https://storage.googleapis.com/gweb-cloudblog-publish/images/image2_zJt72L0.max-900x900.png\u003e\n\u003c/p\u003e\n\nThen we schedule and trigger model training jobs:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=https://storage.googleapis.com/gweb-cloudblog-publish/images/image6_79NQRAT.max-1700x1700.png width=550\u003e\n\u003c/p\u003e\n\n## Acknowledgements\n\n[ML-GDE program](https://developers.google.com/programs/experts/) for providing GCP credits. Thanks to [Karl Weinmeister](https://twitter.com/kweinmeister?lang=hr) for providing review feedback on this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayakpaul%2Fci-cd-for-model-training","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayakpaul%2Fci-cd-for-model-training","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayakpaul%2Fci-cd-for-model-training/lists"}