@@ -42,25 +42,25 @@ jobs:
4242 working-directory : xla
4343 run : mkdir results
4444
45- - name : Wait For Connection
46- uses : google-ml-infra/actions/ci_connection@main
47- with :
48- halt-dispatch-input : ${{ inputs.halt-for-connection }}
45+ # - name: Wait For Connection
46+ # uses: google-ml-infra/actions/ci_connection@main
47+ # with:
48+ # halt-dispatch-input: ${{ inputs.halt-for-connection }}
4949
50- # - name: Configure XLA
51- # working-directory: xla
52- # run: |
53- # cd ..
54- # ls
55- # ./configure.py --backend CUDA --nccl
50+ - name : Configure XLA
51+ working-directory : xla
52+ run : |
53+ cd ..
54+ ls
55+ ./configure.py --backend CUDA --nccl
5656
5757 # - name: Set TF_CPP_MAX_VLOG_LEVEL
5858 # working-directory: xla
5959 # run: echo "TF_CPP_MAX_VLOG_LEVEL=1" >> $GITHUB_ENV # Use GITHUB_ENV to persist across steps
6060
61- # - name: Build hlo_runner_main
62- # working-directory: xla
63- # run: bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main
61+ - name : Build hlo_runner_main
62+ working-directory : xla
63+ run : bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main
6464
6565 # # - name: Wait For Connection
6666 # # uses: google-ml-infra/actions/ci_connection@main
@@ -72,11 +72,18 @@ jobs:
7272 # # with:
7373 # # halt-dispatch-input: ${{ inputs.halt-for-connection }}
7474
75- # - name: Run an HLO file
76- # working-directory: xla
77- # run: |
78- # cd ..
79- # ./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 &> xla/results/gpu_hlo_backend.log
75+ - name : Run an HLO file
76+ working-directory : xla
77+ run : |
78+ cd ..
79+ ./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.pb xla/tools/hlo_opt/tests/gpu_hlo_pass.hlo
80+
81+ - name : Get Device Stats
82+ working-directory : xla
83+ run : |
84+ cd ..
85+ PWD=$(pwd)
86+ bazel run //xla/tools:get_device_stats_main -- --input=$PWD/xla/results/xspace.pb
8087
8188 # # - name: Wait For Connection
8289 # # uses: google-ml-infra/actions/ci_connection@main
@@ -91,11 +98,11 @@ jobs:
9198 # # # working-directory: xla
9299 # # # run: python parse_xla_logs.py results/gpu_hlo_backend.log
93100
94- # - name: Upload Results
95- # uses: actions/upload-artifact@v4
96- # with:
97- # name: gpu-xla-benchmarks
98- # path: xla/results
101+ - name : Upload Results
102+ uses : actions/upload-artifact@v4
103+ with :
104+ name : gpu-xla-benchmarks
105+ path : xla/results
99106
100107
101108# jobs:
0 commit comments