Skip to content

Commit 5051abd

Browse files
Update benchmarks.yml
1 parent d22041e commit 5051abd

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/benchmarks.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
- name: Create results directory
7676
working-directory: xla
77-
run: mkdir results
77+
run: mkdir -p results
7878

7979
- name: Get GPU spec
8080
working-directory: xla
@@ -89,9 +89,9 @@ jobs:
8989
working-directory: xla
9090
run: echo "TF_CPP_MAX_VLOG_LEVEL=1" >> $GITHUB_ENV
9191

92-
- name: Build run_hlo_module with GPU
93-
working-directory: xla
94-
run: bazel build -c opt --dynamic_mode=off xla/tools:run_hlo_module --config=cuda
92+
# - name: Build run_hlo_module with GPU
93+
# working-directory: xla
94+
# run: bazel build -c opt --dynamic_mode=off xla/tools:run_hlo_module --config=cuda
9595

9696
# - name: Wait For Connection
9797
# uses: google-ml-infra/actions/ci_connection@main
@@ -109,21 +109,20 @@ jobs:
109109
echo "Skipping benchmark on $file"
110110
continue
111111
fi
112-
echo "Running benchmark on $file"
113-
./bazel-bin/xla/tools/run_hlo_module --input_format=hlo --platform=GPU "$file" &> results/"$file".log
114-
done
115-
- name: Check files
116-
working-directory: xla
117-
continue-on-error: true
118-
run: |
119-
ls xla/results
120-
- name: Run HLO Module Benchmarks withg GPU in xla/service/gpu
121-
working-directory: xla
122-
continue-on-error: true
123-
run: |
124-
find xla/service/gpu -name "*.hlo" -print0 | while IFS= read -r -d $'\0' file; do
125-
./bazel-bin/xla/tools/run_hlo_module --input_format=hlo --platform=GPU "$file" &> results/"$(basename "$file")".log
112+
echo "Running benchmark on $file" &> results/"$file".log
113+
# ./bazel-bin/xla/tools/run_hlo_module --input_format=hlo --platform=GPU "$file" &> results/"$file".log
126114
done
115+
- name: Wait For Connection
116+
uses: google-ml-infra/actions/ci_connection@main
117+
with:
118+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
119+
# - name: Run HLO Module Benchmarks withg GPU in xla/service/gpu
120+
# working-directory: xla
121+
# continue-on-error: true
122+
# run: |
123+
# find xla/service/gpu -name "*.hlo" -print0 | while IFS= read -r -d $'\0' file; do
124+
# ./bazel-bin/xla/tools/run_hlo_module --input_format=hlo --platform=GPU "$file" &> results/"$(basename "$file")".log
125+
# done
127126
# - name: Build hlo_runner_main
128127
# working-directory: xla
129128
# run: bazel build -c opt --config=cuda --dynamic_mode=off //xla/tools/multihost_hlo_runner:hlo_runner_main

0 commit comments

Comments
 (0)