Spaces:
Sleeping
Sleeping
Du Mingzhe
commited on
Commit
•
c699b03
1
Parent(s):
c0f4173
Update
Browse files
app.py
CHANGED
@@ -27,6 +27,105 @@ cpu_numbers = st.slider('How many CPU Cores you would like to use?', 0, 208, 8)
|
|
27 |
memory_size = st.slider('How many Memory you would like to use?', 0, 208, 8)
|
28 |
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
memory_size = st.slider('How many Memory you would like to use?', 0, 208, 8)
|
28 |
|
29 |
|
30 |
+
# machines = [
|
31 |
+
# "a3-highgpu-8g": {
|
32 |
+
# "instance": "a3-highgpu-8g",
|
33 |
+
# "gpu_numbers": 8,
|
34 |
+
# "gpu_type": "NVIDIA H100 80GB",
|
35 |
+
# "cpu_numbers": 208,
|
36 |
+
# "memory": 1872,
|
37 |
+
# "bundled_ssd": 6000,
|
38 |
+
# "hourly_price_standard": 88.49,
|
39 |
+
# "hourly_price_spot": 62.55,
|
40 |
+
# },
|
41 |
+
# "a2-ultragpu-1g": {
|
42 |
+
# "instance": "a2-ultragpu-1g",
|
43 |
+
# "gpu_numbers": 1,
|
44 |
+
# "gpu_type": "NVIDIA A100 80GB",
|
45 |
+
# "cpu_numbers": 12,
|
46 |
+
# "memory": 170,
|
47 |
+
# "bundled_ssd": 0,
|
48 |
+
# "hourly_price_standard": 5.07,
|
49 |
+
# "hourly_price_spot": 2.05,
|
50 |
+
# },
|
51 |
+
# "a2-ultragpu-2g": {
|
52 |
+
# "instance": "a2-ultragpu-2g",
|
53 |
+
# "gpu_numbers": 2,
|
54 |
+
# "gpu_type": "NVIDIA A100 80GB",
|
55 |
+
# "cpu_numbers": 24,
|
56 |
+
# "memory": 340,
|
57 |
+
# "bundled_ssd": 0,
|
58 |
+
# "hourly_price_standard": 10.14,
|
59 |
+
# "hourly_price_spot": 4.10,
|
60 |
+
# },
|
61 |
+
# "a2-ultragpu-4g": {
|
62 |
+
# "instance": "a2-ultragpu-4g",
|
63 |
+
# "gpu_numbers": 4,
|
64 |
+
# "gpu_type": "NVIDIA A100 80GB",
|
65 |
+
# "cpu_numbers": 48,
|
66 |
+
# "memory": 680,
|
67 |
+
# "bundled_ssd": 0,
|
68 |
+
# "hourly_price_standard": 20.28,
|
69 |
+
# "hourly_price_spot": 8.20,
|
70 |
+
# },
|
71 |
+
# "a2-ultragpu-8g": {
|
72 |
+
# "instance": "a2-ultragpu-8g",
|
73 |
+
# "gpu_numbers": 8,
|
74 |
+
# "gpu_type": "NVIDIA A100 80GB",
|
75 |
+
# "cpu_numbers": 96,
|
76 |
+
# "memory": 1360,
|
77 |
+
# "bundled_ssd": 0,
|
78 |
+
# "hourly_price_standard": 40.55,
|
79 |
+
# "hourly_price_spot": 16.39,
|
80 |
+
# },
|
81 |
+
# "a2-highgpu-1g": {
|
82 |
+
# "instance": "a2-highgpu-1g",
|
83 |
+
# "gpu_numbers": 1,
|
84 |
+
# "gpu_type": "NVIDIA A100 40GB",
|
85 |
+
# "cpu_numbers": 12,
|
86 |
+
# "memory": 85,
|
87 |
+
# "bundled_ssd": 0,
|
88 |
+
# "hourly_price_standard": 3.67,
|
89 |
+
# "hourly_price_spot": 1.47,
|
90 |
+
# },
|
91 |
+
# "a2-highgpu-2g": {
|
92 |
+
# "instance": "a2-highgpu-2g",
|
93 |
+
# "gpu_numbers": 2,
|
94 |
+
# "gpu_type": "NVIDIA A100 40GB",
|
95 |
+
# "cpu_numbers": 24,
|
96 |
+
# "memory": 170,
|
97 |
+
# "bundled_ssd": 0,
|
98 |
+
# "hourly_price_standard": 7.35,
|
99 |
+
# "hourly_price_spot": 2.94,
|
100 |
+
# },
|
101 |
+
# "a2-highgpu-4g": {
|
102 |
+
# "instance": "a2-highgpu-4g",
|
103 |
+
# "gpu_numbers": 4,
|
104 |
+
# "gpu_type": "NVIDIA A100 40GB",
|
105 |
+
# "cpu_numbers": 48,
|
106 |
+
# "memory": 340,
|
107 |
+
# "bundled_ssd": 0,
|
108 |
+
# "hourly_price_standard": 14.69,
|
109 |
+
# "hourly_price_spot": 5.88,
|
110 |
+
# },
|
111 |
+
# "a2-highgpu-8g": {
|
112 |
+
# "instance": "a2-highgpu-8g",
|
113 |
+
# "gpu_numbers": 8,
|
114 |
+
# "gpu_type": "NVIDIA A100 40GB",
|
115 |
+
# "cpu_numbers": 96,
|
116 |
+
# "memory": 680,
|
117 |
+
# "bundled_ssd": 0,
|
118 |
+
# "hourly_price_standard": 29.39,
|
119 |
+
# "hourly_price_spot": 11.76,
|
120 |
+
# },
|
121 |
+
# "a2-highgpu-16g": {
|
122 |
+
# "instance": "a2-highgpu-16g",
|
123 |
+
# "gpu_numbers": 16,
|
124 |
+
# "gpu_type": "NVIDIA A100 40GB",
|
125 |
+
# "cpu_numbers": 96,
|
126 |
+
# "memory": 1360,
|
127 |
+
# "bundled_ssd": 0,
|
128 |
+
# "hourly_price_standard": 55.74,
|
129 |
+
# "hourly_price_spot": 22.30,
|
130 |
+
# },
|
131 |
+
# ]
|