Spaces:
Sleeping
Sleeping
Du Mingzhe
commited on
Commit
·
a15af3c
1
Parent(s):
02a4fca
Add GPUs
Browse files
app.py
CHANGED
|
@@ -2,22 +2,21 @@ import streamlit as st
|
|
| 2 |
|
| 3 |
st.title("GCP Resource Alloctor")
|
| 4 |
|
| 5 |
-
st.header("GCP Resource Alloctor")
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
|
| 22 |
# # GPU Numbers
|
| 23 |
# gpu_numbers = st.slider('How many GPUs you would like to use?', 0, 8, 1)
|
|
|
|
| 2 |
|
| 3 |
st.title("GCP Resource Alloctor")
|
| 4 |
|
|
|
|
| 5 |
|
| 6 |
+
# GPU Type
|
| 7 |
+
gpu_type = st.selectbox(
|
| 8 |
+
'Which type of GPU you would like to use?',
|
| 9 |
+
(
|
| 10 |
+
'NVIDIA H100 80GB',
|
| 11 |
+
'NVIDIA A100 80GB',
|
| 12 |
+
'NVIDIA A100 40GB',
|
| 13 |
+
'NVIDIA V100 16GB',
|
| 14 |
+
'NVIDIA P100 16GB',
|
| 15 |
+
'NVIDIA L4 24GB',
|
| 16 |
+
'NVIDIA T4 16GB',
|
| 17 |
+
'NVIDIA P4 8GB',
|
| 18 |
+
)
|
| 19 |
+
)
|
| 20 |
|
| 21 |
# # GPU Numbers
|
| 22 |
# gpu_numbers = st.slider('How many GPUs you would like to use?', 0, 8, 1)
|