Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Azure/AgentBaker into cam…
Browse files Browse the repository at this point in the history
…eissner/absvc-toggles
  • Loading branch information
Cameron Meissner committed Apr 5, 2024
2 parents 9faaca8 + a5e1c91 commit 7926fd9
Show file tree
Hide file tree
Showing 19 changed files with 1,935 additions and 279 deletions.
62 changes: 31 additions & 31 deletions .pipelines/.vsts-vhd-builder-release.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .pipelines/.vsts-vhd-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ stages:
echo '##vso[task.setvariable variable=IMG_SKU]22_04-lts-gen2'
echo '##vso[task.setvariable variable=IMG_VERSION]latest'
echo '##vso[task.setvariable variable=HYPERV_GENERATION]V2'
echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_D2s_v3'
echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_D16ds_v5'
echo '##vso[task.setvariable variable=FEATURE_FLAGS]None'
echo '##vso[task.setvariable variable=CONTAINER_RUNTIME]containerd'
echo '##vso[task.setvariable variable=ARCHITECTURE]X86_64'
Expand All @@ -70,7 +70,7 @@ stages:
echo '##vso[task.setvariable variable=IMG_SKU]18_04-LTS-GEN2'
echo '##vso[task.setvariable variable=IMG_VERSION]latest'
echo '##vso[task.setvariable variable=HYPERV_GENERATION]V2'
echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_NC6s_v3'
echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_NC16as_T4_v3'
echo '##vso[task.setvariable variable=FEATURE_FLAGS]fullgpudaemon'
echo '##vso[task.setvariable variable=CONTAINER_RUNTIME]containerd'
echo '##vso[task.setvariable variable=ARCHITECTURE]X86_64'
Expand All @@ -94,7 +94,7 @@ stages:
echo '##vso[task.setvariable variable=IMG_OFFER]cbl-mariner'
echo '##vso[task.setvariable variable=IMG_SKU]cbl-mariner-2-gen2'
echo '##vso[task.setvariable variable=HYPERV_GENERATION]V2'
echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_DS2_v2'
echo '##vso[task.setvariable variable=AZURE_VM_SIZE]Standard_D16ds_v5'
echo '##vso[task.setvariable variable=FEATURE_FLAGS]None'
echo '##vso[task.setvariable variable=CONTAINER_RUNTIME]containerd'
echo '##vso[task.setvariable variable=ARCHITECTURE]X86_64'
Expand Down
122 changes: 41 additions & 81 deletions pkg/proto/nbcontract/v1/gpuconfig.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 3 additions & 14 deletions pkg/proto/nbcontract/v1/gpuconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,12 @@ package nbcontract.v1;
import "pkg/proto/nbcontract/v1/featurestate.proto";

message GPUConfig {
// NvidiaState represents the Nvidia GPU state
optional FeatureState nvidia_state = 1;

// FeatureState is_mig_node = 2; removed since it only depends on gpu_instance_profile

// ConfigGpuDriver specifies whether bootstrap process should install and configure the GPU driver when necessary. Configuration includes appropriate set up of components like the fabric manager where applicable.
optional FeatureState config_gpu_driver = 2;
bool config_gpu_driver = 1;

// GpuDevicePlugin specifies whether special config is needed for MIG GPUs that use GPU dedicated VHDs and enable the device plugin (for all GPU dedicated VHDs)
optional FeatureState gpu_device_plugin = 3;

// FeatureState fabric_manager_status = 5; removed. consider just extracting vm_size since both GPUNeedsFabricManager and getGPUDriverVersion depend only on the vm_size.
// string gpu_driver_version = 6; removed. this is dependent only on VM size, can be calculated on the VHD
bool gpu_device_plugin = 2;

// GpuInstanceProfile represents the GPU instance profile.
optional string gpu_instance_profile = 4;

// GpuImageSha represents AKS-GPU image's SHA
optional string gpu_image_sha = 5;
string gpu_instance_profile = 3;
}
Loading

0 comments on commit 7926fd9

Please sign in to comment.