Skip to content

Commit 4f8c1e7

Browse files
Update benchmarks.yml
1 parent 4e352fc commit 4f8c1e7

File tree

1 file changed

+12
-50
lines changed

1 file changed

+12
-50
lines changed

.github/workflows/benchmarks.yml

Lines changed: 12 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,6 @@ on:
1515
- 'yes'
1616
- 'no'
1717

18-
19-
# jobs:
20-
# build-xla-gpu-and-test:
21-
# runs-on: linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner
22-
# container:
23-
# image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"
24-
# options: --gpus all --privileged # Might need privileged mode, use with caution
25-
26-
# steps:
27-
# # - name: Checkout XLA
28-
# # uses: actions/checkout@v3
29-
# # with:
30-
# # repository: openxla/xla # Replace with your fork if needed
31-
# - name: Checkout repository
32-
# uses: actions/checkout@v3
33-
# with:
34-
# repository: juliagmt-google/xla
35-
# ref: dev
36-
# - name: Print machine specs
37-
# run: |
38-
# lscpu
39-
# free -h # Memory information
40-
# df -h # Disk space information
41-
# uname -a # Kernel information
42-
43-
# - name: Create results directory
44-
# working-directory: xla
45-
# run: mkdir results
46-
47-
48-
# - name: Wait For Connection
49-
# uses: google-ml-infra/actions/ci_connection@main
50-
# with:
51-
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
52-
53-
5418
jobs:
5519
Tests:
5620
strategy:
@@ -84,24 +48,23 @@ jobs:
8448
df -h # Disk space information
8549
uname -a # Kernel information
8650
87-
- name: Check Python Version in Container
88-
run: python3 --version
51+
# - name: Check Python Version in Container
52+
# run: python3 --version
8953

90-
- name: Install Python 3.10 if not present (IN CONTAINER)
91-
run: |
92-
if ! python3 --version > /dev/null 2>&1; then # check for python3
93-
echo "Python 3 not found, installing..."
94-
apt-get update
95-
apt-get install -y python3.10 python3-pip
96-
else
97-
echo "Python 3 found."
98-
fi
54+
# - name: Install Python 3.10 if not present (IN CONTAINER)
55+
# run: |
56+
# if ! python3 --version > /dev/null 2>&1; then # check for python3
57+
# echo "Python 3 not found, installing..."
58+
# apt-get update
59+
# apt-get install -y python3.10 python3-pip
60+
# else
61+
# echo "Python 3 found."
62+
# fi
9963

10064
- name: Checkout OpenXLA
10165
uses: actions/checkout@v3
10266
with:
10367
repository: openxla/xla
104-
ref: dev # Specify the dev branch
10568

10669
- name: Create results directory
10770
working-directory: xla
@@ -120,7 +83,7 @@ jobs:
12083
# run: |
12184
# bash run.sh | tee -a ../../../../../../results/flax_2b.log
12285

123-
TODO(juliagmt): Re-enable once the build is fixed.
86+
# TODO(juliagmt): Re-enable once the build is fixed.
12487
- name: Build run_hlo_module
12588
working-directory: xla
12689
run: bazel build -c opt --dynamic_mode=off //xla/tools:run_hlo_module
@@ -168,7 +131,6 @@ jobs:
168131
with:
169132
name: cpu-xla-benchmarks-${{ matrix.job_info.os }}
170133
path: xla/results
171-
172134
# build-xla-gpu-and-test:
173135
# runs-on: "linux-x86-n2-16" #linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner
174136
# container:

0 commit comments

Comments
 (0)