Skip to content

Commit 8893183

Browse files
Update benchmarks.yml
1 parent 92f23a8 commit 8893183

File tree

1 file changed

+53
-55
lines changed

1 file changed

+53
-55
lines changed

.github/workflows/benchmarks.yml

Lines changed: 53 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -27,82 +27,80 @@ jobs:
2727

2828
steps:
2929
- name: Checkout XLA
30-
uses: actions/checkout@v4 # v4.1.1
31-
with:
32-
repository: juliagmt-google/xla
30+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3331

34-
- name: Print machine specs
35-
run: |
36-
lscpu
37-
free -h # Memory information
38-
df -h # Disk space information
39-
uname -a # Kernel information
32+
# - name: Print machine specs
33+
# run: |
34+
# lscpu
35+
# free -h # Memory information
36+
# df -h # Disk space information
37+
# uname -a # Kernel information
4038

41-
- name: Create results directory
42-
working-directory: xla
43-
run: mkdir results
39+
# - name: Create results directory
40+
# working-directory: xla
41+
# run: mkdir results
4442

4543
# - name: Wait For Connection
4644
# uses: google-ml-infra/actions/ci_connection@main
4745
# with:
4846
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
4947

50-
- name: Configure XLA
51-
working-directory: xla
52-
run: |
53-
cd ..
54-
ls
55-
./configure.py --backend CUDA --nccl
48+
# - name: Configure XLA
49+
# working-directory: xla
50+
# run: |
51+
# cd ..
52+
# ls
53+
# ./configure.py --backend CUDA --nccl
5654

5755
# - name: Set TF_CPP_MAX_VLOG_LEVEL
5856
# working-directory: xla
5957
# run: echo "TF_CPP_MAX_VLOG_LEVEL=1" >> $GITHUB_ENV # Use GITHUB_ENV to persist across steps
6058

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
59+
# - name: Build hlo_runner_main
60+
# working-directory: xla
61+
# run: bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main
6462

65-
# # - name: Wait For Connection
66-
# # uses: google-ml-infra/actions/ci_connection@main
67-
# # with:
68-
# # halt-dispatch-input: ${{ inputs.halt-for-connection }}
63+
# - name: Wait For Connection
64+
# uses: google-ml-infra/actions/ci_connection@main
65+
# with:
66+
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
6967

70-
# # - name: Wait For Connection
71-
# # uses: google-ml-infra/actions/ci_connection@main
72-
# # with:
73-
# # halt-dispatch-input: ${{ inputs.halt-for-connection }}
68+
# - name: Wait For Connection
69+
# uses: google-ml-infra/actions/ci_connection@main
70+
# with:
71+
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
7472

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
73+
# - name: Run an HLO file
74+
# working-directory: xla
75+
# run: |
76+
# cd ..
77+
# ./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
8078

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
79+
# - name: Get Device Stats
80+
# working-directory: xla
81+
# run: |
82+
# cd ..
83+
# PWD=$(pwd)
84+
# bazel run //xla/tools:get_device_stats_main -- --input=$PWD/xla/results/xspace.pb
8785

88-
# # - name: Wait For Connection
89-
# # uses: google-ml-infra/actions/ci_connection@main
90-
# # with:
91-
# # halt-dispatch-input: ${{ inputs.halt-for-connection }}
86+
# - name: Wait For Connection
87+
# uses: google-ml-infra/actions/ci_connection@main
88+
# with:
89+
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
9290

93-
# # # - name: Download parse_xla_logs.py
94-
# # # working-directory: xla
95-
# # # run: wget https://raw.githubusercontent.com/juliagmt-google/xla/main/.github/workflows/parse_xla_logs.py
91+
# - name: Download parse_xla_logs.py
92+
# working-directory: xla
93+
# run: wget https://raw.githubusercontent.com/juliagmt-google/xla/main/.github/workflows/parse_xla_logs.py
9694

97-
# # # - name: Parse XLA logs
98-
# # # working-directory: xla
99-
# # # run: python parse_xla_logs.py results/gpu_hlo_backend.log
95+
# - name: Parse XLA logs
96+
# working-directory: xla
97+
# run: python parse_xla_logs.py results/gpu_hlo_backend.log
10098

101-
- name: Upload Results
102-
uses: actions/upload-artifact@v4
103-
with:
104-
name: gpu-xla-benchmarks
105-
path: xla/results
99+
# - name: Upload Results
100+
# uses: actions/upload-artifact@v4
101+
# with:
102+
# name: gpu-xla-benchmarks
103+
# path: xla/results
106104

107105

108106
# jobs:

0 commit comments

Comments
 (0)