Skip to content

Commit e518ec3

Browse files
Update benchmarks.yml
1 parent 896a9bf commit e518ec3

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/benchmarks.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,37 @@ on:
1717

1818
jobs:
1919
build-xla-gpu-and-test:
20-
runs-on: linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner
20+
runs-on: "linux-x86-n2-16" #linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner
2121
container:
2222
image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"
2323
options: --gpus all --privileged # Might need privileged mode, use with caution
2424

2525
steps:
26-
# - name: Checkout XLA
27-
# uses: actions/checkout@v3
28-
# with:
29-
# repository: openxla/xla # Replace with your fork if needed
30-
- name: Checkout repository
26+
- name: Checkout XLA
3127
uses: actions/checkout@v3
3228
with:
33-
repository: juliagmt-google/xla
34-
path: xla
35-
36-
# - name: Wait For Connection
37-
# uses: google-ml-infra/actions/ci_connection@main
29+
repository: openxla/xla # Replace with your fork if needed
30+
# - name: Checkout repository
31+
# uses: actions/checkout@v3
3832
# with:
39-
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
40-
33+
# repository: juliagmt-google/xla
34+
# path: xla
35+
4136
- name: Print machine specs
4237
run: |
4338
lscpu
4439
free -h # Memory information
4540
df -h # Disk space information
4641
uname -a # Kernel information
47-
42+
4843
- name: Create results directory
4944
working-directory: xla
5045
run: mkdir results
51-
46+
47+
- name: Wait For Connection
48+
uses: google-ml-infra/actions/ci_connection@main
49+
with:
50+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
5251
# - name: Set up Python 3.10 # Choose your desired Python version
5352
# uses: actions/setup-python@v4
5453
# with:
@@ -70,10 +69,10 @@ jobs:
7069
# run: |
7170
# bash setup.sh
7271

73-
- name: Wait For Connection
74-
uses: google-ml-infra/actions/ci_connection@main
75-
with:
76-
halt-dispatch-input: ${{ inputs.halt-for-connection }}
72+
# - name: Wait For Connection
73+
# uses: google-ml-infra/actions/ci_connection@main
74+
# with:
75+
# halt-dispatch-input: ${{ inputs.halt-for-connection }}
7776

7877
# - name: Run run.sh for E2E benchmarks flax_2b (within venv)
7978
# working-directory: xla/backends/cpu/benchmarks/e2e/gemma2/flax_2b

0 commit comments

Comments
 (0)