Skip to content

Commit e1a1c2e

Browse files
Update benchmarks.yml
1 parent 15efd20 commit e1a1c2e

File tree

1 file changed

+59
-23
lines changed

1 file changed

+59
-23
lines changed

.github/workflows/benchmarks.yml

Lines changed: 59 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,43 @@ on:
1515
- 'yes'
1616
- 'no'
1717

18+
1819
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+
54+
# jobs:
1955
# Tests:
2056
# strategy:
2157
# # Don't fail fast - want to see results for all builds even if one fails.
@@ -133,38 +169,38 @@ jobs:
133169
# name: cpu-xla-benchmarks-${{ matrix.job_info.os }}
134170
# path: xla/results
135171

136-
build-xla-gpu-and-test:
137-
runs-on: "linux-x86-n2-16" #linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner
138-
container:
139-
image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"
140-
options: --gpus all --privileged # Might need privileged mode, use with caution
172+
# build-xla-gpu-and-test:
173+
# runs-on: "linux-x86-n2-16" #linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner
174+
# container:
175+
# image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"
176+
# options: --gpus all --privileged # Might need privileged mode, use with caution
141177

142178
# steps:
143179
# - name: Checkout XLA
144180
# uses: actions/checkout@v3
145181
# with:
146182
# repository: openxla/xla # Replace with your fork if needed
147-
- name: Checkout repository
148-
uses: actions/checkout@v3
149-
with:
150-
repository: juliagmt-google/xla
151-
ref: dev
183+
# - name: Checkout repository
184+
# uses: actions/checkout@v3
185+
# with:
186+
# repository: juliagmt-google/xla
187+
# ref: dev
152188

153-
- name: Print machine specs
154-
run: |
155-
lscpu
156-
free -h # Memory information
157-
df -h # Disk space information
158-
uname -a # Kernel information
189+
# - name: Print machine specs
190+
# run: |
191+
# lscpu
192+
# free -h # Memory information
193+
# df -h # Disk space information
194+
# uname -a # Kernel information
159195

160-
- name: Create results directory
161-
working-directory: xla
162-
run: mkdir results
196+
# - name: Create results directory
197+
# working-directory: xla
198+
# run: mkdir results
163199

164-
- name: Wait For Connection
165-
uses: google-ml-infra/actions/ci_connection@main
166-
with:
167-
halt-dispatch-input: ${{ inputs.halt-for-connection }}
200+
# - name: Wait For Connection
201+
# uses: google-ml-infra/actions/ci_connection@main
202+
# with:
203+
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
168204
# - name: Set up Python 3.10 # Choose your desired Python version
169205
# uses: actions/setup-python@v4
170206
# with:

0 commit comments

Comments
 (0)