Skip to content

Commit a1c320f

Browse files
Improve GKE A3 High GPU networking performance (GoogleCloudPlatform#5167)
1 parent df3c6fb commit a1c320f

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

examples/gke-a3-highgpu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ deployment_groups:
8989
k8s_network_names:
9090
gvnic_prefix: vpc
9191
gvnic_start_index: 1
92-
version_prefix: 1.33.5-gke.1308000
92+
version_prefix: "1.32."
9393
outputs: [instructions]
9494

9595
- id: a3_highgpu_pool

tools/cloud-build/daily-tests/ansible_playbooks/test-validation/test-gke-a3-high.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@
2929
gcloud container clusters describe {{ deployment_name }} --region {{ region }} --project {{ custom_vars.project }} --format="value(currentMasterVersion)"
3030
register: gke_version_info
3131

32+
- name: Apply NCCL Config and NRI Device Injector
33+
delegate_to: localhost
34+
ansible.builtin.shell: |
35+
# Apply the NCCL configuration required by the all-gather scripts
36+
kubectl apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/gpudirect-tcpx/nccl-config.yaml
37+
38+
# Apply the NRI Device Injector manifest
39+
kubectl apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/nri_device_injector/nri-device-injector.yaml
40+
register: infra_setup
41+
changed_when: "'created' in infra_setup.stdout or 'configured' in infra_setup.stdout"
42+
3243
- name: Print GKE cluster version
3344
ansible.builtin.debug:
3445
msg: "GKE Cluster Version: {{ gke_version_info.stdout }}"
@@ -70,12 +81,12 @@
7081
debug:
7182
msg: "{{ nccl_test_logs.stdout }}"
7283

73-
- name: Ensure average bus bandwidth is >= 18 GB/s
84+
- name: Ensure average bus bandwidth is >= 25 GB/s
7485
delegate_to: localhost
7586
ansible.builtin.shell: |
7687
grep -o '# Avg bus bandwidth : [0-9\.]*' pod_logs.txt | cut -d ':' -f 2 | awk '{$1=$1;print}'
7788
register: avg_bus_bandwidth
78-
failed_when: avg_bus_bandwidth.stdout | float < 18
89+
failed_when: avg_bus_bandwidth.stdout | float < 25
7990

8091
- name: Clean up
8192
delegate_to: localhost

0 commit comments

Comments
 (0)