Spaces:
Runtime error
Runtime error
sashavor
commited on
Commit
·
795ccdc
1
Parent(s):
17b42b8
removing image for now
Browse files
app.py
CHANGED
@@ -54,16 +54,17 @@ electricity = pd.read_csv(electricity_url)
|
|
54 |
servers = pd.read_csv(server_url)
|
55 |
embodied_gpu = pd.read_csv(embodied_gpu_url)
|
56 |
|
57 |
-
st.image('images/MIT_carbon_image_narrow.png', use_column_width=True)
|
58 |
st.title("AI Carbon Calculator")
|
59 |
|
60 |
st.markdown('## Estimate your model\'s CO2 carbon footprint!')
|
61 |
|
62 |
st.markdown('##### You can use this tool to calculate different aspects of your model\'s carbon footprint.')
|
|
|
63 |
|
64 |
st.markdown('### Dynamic Emissions')
|
65 |
-
st.markdown('##### These are the emissions produced by generating the electricity
|
66 |
-
with st.expander("Calculate the emissions
|
67 |
col1, col2, col3, col4 = st.columns(4)
|
68 |
with col1:
|
69 |
hardware = st.selectbox('GPU used', TDP['name'].tolist())
|
@@ -93,12 +94,17 @@ with st.expander("Calculate the emissions produced by energy consumption of mode
|
|
93 |
st.button(label="Anonymously share my data", help="Share the data from your model anonymously for research purposes!",\
|
94 |
on_click = lambda *args: write_to_csv(hardware, training_time, provider, carbon_intensity, dynamic_emissions))
|
95 |
|
|
|
|
|
|
|
|
|
96 |
|
97 |
|
98 |
st.markdown('### Idle Emissions')
|
99 |
st.markdown('##### These are the emissions produced by generating the electricity needed to power the rest of the infrastructure'
|
100 |
'used for model training -- the datacenter, network, heating/cooling, storage, etc.')
|
101 |
-
st.
|
|
|
102 |
|
103 |
|
104 |
|
|
|
54 |
servers = pd.read_csv(server_url)
|
55 |
embodied_gpu = pd.read_csv(embodied_gpu_url)
|
56 |
|
57 |
+
#st.image('images/MIT_carbon_image_narrow.png', use_column_width=True, caption = 'Image credit: ')
|
58 |
st.title("AI Carbon Calculator")
|
59 |
|
60 |
st.markdown('## Estimate your model\'s CO2 carbon footprint!')
|
61 |
|
62 |
st.markdown('##### You can use this tool to calculate different aspects of your model\'s carbon footprint.')
|
63 |
+
st.markdown('##### Share your data to help us get a better idea of AI model\'s carbon emissions.')
|
64 |
|
65 |
st.markdown('### Dynamic Emissions')
|
66 |
+
st.markdown('##### These are the carbon emissions produced by generating the electricity necessary for powering model training')
|
67 |
+
with st.expander("Calculate the dynamic emissions of your model"):
|
68 |
col1, col2, col3, col4 = st.columns(4)
|
69 |
with col1:
|
70 |
hardware = st.selectbox('GPU used', TDP['name'].tolist())
|
|
|
94 |
st.button(label="Anonymously share my data", help="Share the data from your model anonymously for research purposes!",\
|
95 |
on_click = lambda *args: write_to_csv(hardware, training_time, provider, carbon_intensity, dynamic_emissions))
|
96 |
|
97 |
+
st.markdown('### Idle Emissions')
|
98 |
+
st.markdown('##### These are the emissions produced by generating the electricity needed to power the rest of the infrastructure'
|
99 |
+
'used for model training -- the datacenter, network, heating/cooling, storage, etc.')
|
100 |
+
|
101 |
|
102 |
|
103 |
st.markdown('### Idle Emissions')
|
104 |
st.markdown('##### These are the emissions produced by generating the electricity needed to power the rest of the infrastructure'
|
105 |
'used for model training -- the datacenter, network, heating/cooling, storage, etc.')
|
106 |
+
with st.expander("Calculate the idle emissions of your model"):
|
107 |
+
st.markdown('Do you know what the PUE (Power Usage Effectiveness) of your infrastructure is?')
|
108 |
|
109 |
|
110 |
|