File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 33 platform : " linux"
44 arch : " amd64"
55 ami : " ami-04a92520784b93e73"
6+ preinstall : |
7+ #!/bin/bash
8+ apt update && apt install -y curl build-essential
9+ # Add Docker's official GPG key:
10+ apt-get update
11+ apt-get install -y ca-certificates curl
12+ install -m 0755 -d /etc/apt/keyrings
13+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
14+ chmod a+r /etc/apt/keyrings/docker.asc
15+ echo \
16+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
17+ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
18+ tee /etc/apt/sources.list.d/docker.list > /dev/null
19+ apt-get update
20+ apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
21+ adduser runner docker
22+ wget https://github.com/jbdalido/bazel-remote/releases/download/test/bazel-remote -O /usr/local/bin/bzlcache
23+ chmod +x /usr/local/bin/bzlcache
24+ echo "Run bazel cache"
25+ systemd-run --property=Restart=always /usr/local/bin/bzlcache --max_size=1000 --grpc_address 127.0.0.1:15501 --dir=/tmp/cache --s3.region eu-west-3 --s3.bucket runs-on-s3bucketcache-jycgicewbssh --s3.auth_method iam_role --s3.prefix cache --s3.endpoint=s3.eu-west-3.amazonaws.com --storage_mode uncompressed
26+ ubuntu22-amd64 :
27+ platform : " linux"
28+ arch : " amd64"
29+ ami : " ami-04a4acda26ca36de0"
630 preinstall : |
731 #!/bin/bash
832 apt update && apt install -y curl build-essential
Original file line number Diff line number Diff line change @@ -62,14 +62,14 @@ jobs:
6262 config : " --config=cuda"
6363 artifact : libpjrt_c_api_gpu_plugin.so
6464 renamed_artifact : libpjrt_cuda.so
65- runs_on : ["runs-on", "runner=32cpu-linux-x64", "image=ubuntu24 -amd64"]
65+ runs_on : ["runs-on", "runner=32cpu-linux-x64", "image=ubuntu22 -amd64"]
6666 platform : linux-amd64
6767 bazel_target : //xla/pjrt/c:pjrt_c_api_gpu_plugin
6868 - target : rocm
6969 config : " --config=rocm"
7070 artifact : libpjrt_c_api_gpu_plugin.so
7171 renamed_artifact : libpjrt_rocm.so
72- runs_on : ["runs-on", "runner=32cpu-linux-x64", "image=ubuntu24 -amd64"]
72+ runs_on : ["runs-on", "runner=32cpu-linux-x64", "image=ubuntu22 -amd64"]
7373 platform : linux-amd64
7474 bazel_target : //xla/pjrt/c:pjrt_c_api_gpu_plugin
7575 - target : cpu
9090 config : " "
9191 artifact : bazel-bin/xla/pjrt/c/libpjrt_c_api_cpu_plugin.so
9292 renamed_artifact : libpjrt_cpu.so
93- runs_on : ["runs-on", "runner=32cpu-linux-x64", "image=ubuntu24 -amd64"]
93+ runs_on : ["runs-on", "runner=32cpu-linux-x64", "image=ubuntu22 -amd64"]
9494 platform : linux-amd64
9595 bazel_target : //xla/pjrt/c:pjrt_c_api_cpu_plugin
9696
You can’t perform that action at this time.
0 commit comments