Skip to content

Commit 15efd20

Browse files
Update benchmarks.yml
1 parent 6d0394e commit 15efd20

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

.github/workflows/benchmarks.yml

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,37 @@ on:
1616
- 'no'
1717

1818
jobs:
19-
Tests:
20-
strategy:
21-
# Don't fail fast - want to see results for all builds even if one fails.
22-
fail-fast: false
23-
matrix:
24-
job_info: [
25-
{
26-
os: "linux-x86-n2-16",
27-
container: "us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest",
28-
pretty_name: "XLA Linux x86 CPU",
29-
},
30-
{
31-
os: "linux-arm64-c4a-16",
32-
container: "us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build-arm64:latest",
33-
pretty_name: "XLA Linux ARM64 CPU",
34-
}
35-
]
36-
name: ${{ matrix.job_info.pretty_name }}
37-
runs-on: ${{ matrix.job_info.os }}
38-
container: ${{ matrix.job_info.container }}
39-
defaults:
40-
run:
41-
shell: bash
42-
timeout-minutes: 30
43-
steps:
44-
- name: Print machine specs
45-
run: |
46-
lscpu
47-
free -h # Memory information
48-
df -h # Disk space information
49-
uname -a # Kernel information
19+
# Tests:
20+
# strategy:
21+
# # Don't fail fast - want to see results for all builds even if one fails.
22+
# fail-fast: false
23+
# matrix:
24+
# job_info: [
25+
# {
26+
# os: "linux-x86-n2-16",
27+
# container: "us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest",
28+
# pretty_name: "XLA Linux x86 CPU",
29+
# },
30+
# {
31+
# os: "linux-arm64-c4a-16",
32+
# container: "us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build-arm64:latest",
33+
# pretty_name: "XLA Linux ARM64 CPU",
34+
# }
35+
# ]
36+
# name: ${{ matrix.job_info.pretty_name }}
37+
# runs-on: ${{ matrix.job_info.os }}
38+
# container: ${{ matrix.job_info.container }}
39+
# defaults:
40+
# run:
41+
# shell: bash
42+
# timeout-minutes: 30
43+
# steps:
44+
# - name: Print machine specs
45+
# run: |
46+
# lscpu
47+
# free -h # Memory information
48+
# df -h # Disk space information
49+
# uname -a # Kernel information
5050

5151
# - name: Check Python Version in Container
5252
# run: python3 --version
@@ -61,11 +61,11 @@ jobs:
6161
# echo "Python 3 found."
6262
# fi
6363

64-
- name: Checkout OpenXLA
65-
uses: actions/checkout@v3
66-
with:
67-
repository: openxla/xla
68-
ref: dev # Specify the dev branch
64+
# - name: Checkout OpenXLA
65+
# uses: actions/checkout@v3
66+
# with:
67+
# repository: openxla/xla
68+
# ref: dev # Specify the dev branch
6969

7070
# - name: Create results directory
7171
# working-directory: xla
@@ -133,22 +133,22 @@ jobs:
133133
# name: cpu-xla-benchmarks-${{ matrix.job_info.os }}
134134
# path: xla/results
135135

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
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
141141

142-
# steps:
143-
# - name: Checkout XLA
144-
# uses: actions/checkout@v3
145-
# with:
146-
# 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-
# # path: xla
142+
# steps:
143+
# - name: Checkout XLA
144+
# uses: actions/checkout@v3
145+
# with:
146+
# 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
152152

153153
- name: Print machine specs
154154
run: |

0 commit comments

Comments
 (0)