Setup for Triton GPT2 Example Azure
Setup Azure Kubernetes Infrastructure
Define Variables
subscription_id = "<xxxx-xxxx-xxxx-xxxx>" # fill in
resource_group = "seldon" # feel free to replace or use this default
region = "eastus2" # feel free to replace or use this default
storage_account_name = "modeltestsgpt" # fill in
storage_container_name = "gpt2tf"
aks_name = "modeltests" # feel free to replace or use this default
aks_gpupool = "gpunodes" # feel free to replace or use this default
aks_cpupool = "cpunodes" # feel free to replace or use this default
aks_gpu_sku = "Standard_NC6s_v3" # feel free to replace or use this default
aks_cpu_sku = "Standard_F8s_v2"Azure account login
Create Resource Group
Create AKS Cluster and NodePools
Connect to AKS Cluster
Create GPU enabled and CPU Node Pools
Create GPU NodePool with GPU taint
Verify GPU is available on Kubernetes Node
Create CPU NodePool for running regular workloads
Verify Taints on the Kubernetes nodes
Create Storage Account for training data
Install Kubernetes Blob CSI Driver
Create Persistent Volume for Azure Blob
Last updated
Was this helpful?