-
Notifications
You must be signed in to change notification settings - Fork 32
/
.cirun.yml
35 lines (35 loc) · 1007 Bytes
/
.cirun.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Self-Hosted Github Action Runners on GCP via Cirun.io
# Reference: https://docs.cirun.io/reference/yaml
runners:
- name: gpu-runner
# Cloud Provider: GCP
cloud: gcp
# Cheapest GPU on GCP
gpu: nvidia-tesla-t4
# Cheapest VM on GCP, with GPU attachable
instance_type: n1-standard-1
# Custom image with NVIDIA drivers installed on Ubuntu-20.4
# to reduce provision time
# Format => project_name:image_name
machine_image: sgkit-dev:cirun-nvidia-v2
region:
- us-central1-a
- us-central1-b
- us-central1-c
- us-central1-f
- us-east1-c
- us-east1-d
- us-east4-a
- us-east4-b
- us-east4-c
- us-west1-a
- us-west1-b
- us-west2-b
- us-west2-c
- us-west4-a
- us-west4-b
# preemptible instances seems quite less reliable.
preemptible: false
# Adding the GPU label, this matches the runs-on param from .github/workflows/build-gpu.yml
labels:
- cirun-gpu-runner