AI Model Deployment
Overview
The model runtime workflow (.github/workflows/deploy-model-runtime.yml) deploys AI models to Azure AI Foundry and can seed the runtime model tables from the generated deployment manifest.
Use it when:
- adding a new model to an existing environment
- updating quota allocations
- recreating model deployments after an AI Services account changes
- testing a filtered set of models before broader rollout
How To Run
- Open the
Deploy Model RuntimeGitHub Actions workflow. - Choose
project,targetEnv,models, quota, deployment scope, and dry-run settings. - Run with
dryRun=truefirst. - Run with
dryRun=falseandseedModelRuntime=trueto deploy and seed runtime tables.
Key Inputs
| Input | Description |
|---|---|
project | Project profile such as testing, tap, k12, or sdac. |
targetEnv | Target environment. |
models | Comma-separated model names to deploy. |
quotaPerDeployment | Quota per deployment in K TPM. |
deploymentScope | Deployment naming pattern to target. |
updateExistingOnly | Only update existing deployments. |
seedModelRuntime | Seed runtime tables after deployment. |
dryRun | Preview deployment operations without applying them. |
Runtime Seeding
When seeding is enabled, the workflow downloads the model manifest, generates SQL with azure_template/scripts/generate-llm-seed.sh, and writes Core.LLMParamsDim and Core.LLMModelCapabilities rows.
After model runtime seeding, deployment contract validation should certify model parameters before the dashboard exposes editable controls.