Skip to content

Commit a527c94

Browse files
Update benchmarks.yml
1 parent 3bafca0 commit a527c94

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/benchmarks.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
- name: Create results directory
3838
working-directory: xla
3939
run: mkdir -p results
40+
- name: Run test script
41+
run: |
42+
echo "This is a test." > results/test.log
43+
- name: Check file contents
44+
run: cat results/test.log
4045

4146
# - name: Get GPU spec
4247
# working-directory: xla
@@ -92,7 +97,7 @@ jobs:
9297
- name: Run an HLO file
9398
working-directory: xla
9499
run: |
95-
nvidia-smi --query-gpu=utilization.gpu --format=csv -l 1 > results/gpu_utilization_gpu_backend.log & ./bazel-bin/xla/tools/multihost_hlo_runner/hlo_runner_main --device_type=gpu --log_output=True --use_spmd_partitioning gpu_hlo_backend.hlo &> results/gpu_hlo_backend.hlo.log
100+
nvidia-smi --query-gpu=utilization.gpu --format=csv -l 1 > results/gpu_utilization_gpu_backend.log & ./bazel-bin/xla/tools/multihost_hlo_runner/hlo_runner_main --device_type=gpu --log_output=True --use_spmd_partitioning gpu_hlo_backend.hlo
96101
97102
cd results
98103
ls

0 commit comments

Comments
 (0)