Skip to content

Commit a8c8c16

Browse files
Update benchmarks.yml
1 parent 77c2e0a commit a8c8c16

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/benchmarks.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,15 @@ jobs:
134134
- name: Set TF_CPP_MAX_VLOG_LEVEL
135135
env:
136136
TF_CPP_MAX_VLOG_LEVEL: 1
137-
# - name: Build hlo_runner_main
138-
# run: bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main
139-
# # TODO(juliagmt): Add more performance-criticalHLOs to benchmark.
140-
# - name: Run xla/tools/hlo_opt/tests/gpu_hlo_pass.hlo
141-
# 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
142-
# - name: Upload XSpace
143-
# uses: actions/upload-artifact@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
144-
# with:
145-
# name: gpu-xla-benchmarks-xspace
146-
# path: xla/results/xspace.pbtxt
137+
run: |
138+
echo "TF_CPP_MAX_VLOG_LEVEL is: $TF_CPP_MAX_VLOG_LEVEL"
139+
- name: Build hlo_runner_main
140+
run: bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main
141+
# TODO(juliagmt): Add more performance-criticalHLOs to benchmark.
142+
- name: Run xla/tools/hlo_opt/tests/gpu_hlo_pass.hlo
143+
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
144+
- name: Upload XSpace
145+
uses: actions/upload-artifact@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
146+
with:
147+
name: gpu-xla-benchmarks-xspace
148+
path: xla/results/xspace.pbtxt

0 commit comments

Comments
 (0)