Skip to main content

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

  1. Open the Deploy Model Runtime GitHub Actions workflow.
  2. Choose project, targetEnv, models, quota, deployment scope, and dry-run settings.
  3. Run with dryRun=true first.
  4. Run with dryRun=false and seedModelRuntime=true to deploy and seed runtime tables.

Key Inputs

InputDescription
projectProject profile such as testing, tap, k12, or sdac.
targetEnvTarget environment.
modelsComma-separated model names to deploy.
quotaPerDeploymentQuota per deployment in K TPM.
deploymentScopeDeployment naming pattern to target.
updateExistingOnlyOnly update existing deployments.
seedModelRuntimeSeed runtime tables after deployment.
dryRunPreview 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.