@@ -104,14 +104,11 @@ jobs:
104104 # Don't fail fast - want to see results for all builds even if one fails.
105105 fail-fast : false
106106 matrix :
107- job_info : [
108- {
109- os : " linux-x86-g2-48-l4-4gpu" ,
110- container : " us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest" ,
111- pretty_name : " Linux X86 runner with 4 NVIDIA L4 GPUs" ,
112- },
107+ job_info :
108+ - os : " linux-x86-g2-48-l4-4gpu"
109+ container : " us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest"
110+ pretty_name : " Linux X86 runner with 4 NVIDIA L4 GPUs"
113111 # Expect more GPU types in the future.
114- ]
115112 name : ${{ matrix.job_info.pretty_name }}
116113 runs-on : ${{ matrix.job_info.os }}
117114 container : ${{ matrix.job_info.container }}
@@ -122,7 +119,6 @@ jobs:
122119 steps :
123120 - name : Checkout XLA
124121 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
125-
126122 - name : Print machine specs
127123 run : |
128124 nvidia-smi
@@ -131,21 +127,16 @@ jobs:
131127 uname -a # Kernel information
132128 - name : Create results directory
133129 run : mkdir results
134-
135130 - name : Configure XLA for GPU backend
136- run : |
137- ./configure.py --backend CUDA --nccl
131+ run : ./configure.py --backend CUDA --nccl
138132 - name : Set TF_CPP_MAX_VLOG_LEVEL
139133 env :
140134 TF_CPP_MAX_VLOG_LEVEL : 1
141-
142135 - name : Build hlo_runner_main
143136 run : bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main
144137 # TODO(juliagmt): Add more performance-criticalHLOs to benchmark.
145138 - name : Run xla/tools/hlo_opt/tests/gpu_hlo_pass.hlo
146- run : |
147- ./bazel-bin/xla/tools/multihost_hlo_runner/hlo_runner_main --device_type=gpu --log_output=True --use_spmd_partitioning --xla_gpu_dump_xspace_to=xla/results/xspace.pbtxt xla/tools/hlo_opt/tests/gpu_hlo_pass.hlo
148-
139+ run : ./bazel-bin/xla/tools/multihost_hlo_runner/hlo_runner_main --device_type=gpu --log_output=True --use_spmd_partitioning --xla_gpu_dump_xspace_to=xla/results/xspace.pbtxt xla/tools/hlo_opt/tests/gpu_hlo_pass.hlo
149140 - name : Upload XSpace
150141 uses : actions/upload-artifact@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
151142 with :
0 commit comments