-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_zones.py
116 lines (114 loc) · 2.77 KB
/
_zones.py
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
"""
Currently T4, L4, V100
ty https://github.com/doitintl/gpu-finder
"""
gpu_type_to_zones = {
"T4": [
"us-west4-a",
"us-west4-b",
"us-west3-b",
# ^ These zones tend to be more available than others IME
"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",
"asia-east1-a",
"asia-east1-c",
"asia-east2-a",
"asia-east2-c",
"asia-northeast1-a",
"asia-northeast1-c",
"asia-northeast3-b",
"asia-northeast3-c",
"asia-south1-a",
"asia-south1-b",
"asia-south1-c",
"asia-southeast1-a",
"asia-southeast1-b",
"asia-southeast1-c",
"asia-southeast2-a",
"asia-southeast2-b",
"australia-southeast1-a",
"australia-southeast1-c",
"europe-central2-b",
"europe-central2-c",
"europe-west1-b",
"europe-west1-c",
"europe-west1-d",
"europe-west2-a",
"europe-west2-b",
"europe-west3-b",
"europe-west4-a",
"europe-west4-b",
"europe-west4-c",
"me-west1-b",
"me-west1-c",
"northamerica-northeast1-c",
"southamerica-east1-a",
"southamerica-east1-c",
],
"L4": [
"us-west4-a",
"us-west4-c",
# ^ I have a quota of 4 for each of these
"us-east1-b",
"us-east1-c",
"us-east1-d",
"us-east4-c",
"us-east4-a",
"us-central1-c",
"us-central1-a",
"us-central1-b",
"us-west1-b",
"us-west1-c",
"us-west1-a",
"europe-west4-a",
"europe-west4-b",
"europe-west4-c",
"europe-west1-b",
"europe-west1-c",
"europe-west3-a",
"europe-west3-b",
"europe-west2-b",
"europe-west2-a",
"asia-east1-b",
"asia-east1-a",
"asia-east1-c",
"asia-southeast1-b",
"asia-southeast1-a",
"asia-southeast1-c",
"asia-northeast1-b",
"asia-northeast1-c",
"asia-northeast1-a",
"asia-south1-c",
"asia-south1-b",
"asia-south1-a",
"asia-northeast3-a",
"asia-northeast3-b",
"europe-west6-b",
"europe-west6-c",
"northamerica-northeast2-a",
],
"V100": [
"us-east1-c",
"us-central1-c",
"us-central1-a",
"us-central1-f",
"us-central1-b",
"us-west1-b",
"us-west1-a",
"europe-west4-a",
"europe-west4-b",
"europe-west4-c",
"asia-east1-c",
],
}