Retraining and Updating GenAI Models
Structure Your Retraining Pipeline
- step: train-model
image: pytorch/pytorch:2.9.0-cuda12.8-cudnn9-runtime
command: python train.py
inputs:
- name: training_data
default: dataset://domain-data/v5
- step: evaluate-model
image: python:3.10
command: python evaluate.py
inputs:
- name: model
default: model://my-gen-ai-model/candidate
- step: promote-model
image: python:3.10
command: python promote.py
inputs:
- name: results
- pipeline:
name: train-and-evaluate-model
nodes:
- name: train-model
type: execution
step: train-model
- name: evaluate-model
type: execution
step: evaluate-genai
- name: promote-model
type: execution
step: promote-model
actions:
- when: node-starting
then: require-approval
edges:
- [train-model.outputs.*, evaluate-model.inputs.model]
- [evaluate-model.outputs.*, promote-model.inputs.results]Automate Regression Checks
Add a Human Approval Step
Update and Promote in Model Catalog
Maintain Reproducibility and Traceability
GenAI Considerations
Topic
Recommendation
Learn More
Last updated
Was this helpful?
