Spaces:
Runtime error
Runtime error
sashavor
commited on
Commit
·
248e2bb
1
Parent(s):
f924cbe
trying out image
Browse files
app.py
CHANGED
|
@@ -54,17 +54,15 @@ electricity = pd.read_csv(electricity_url)
|
|
| 54 |
servers = pd.read_csv(server_url)
|
| 55 |
embodied_gpu = pd.read_csv(embodied_gpu_url)
|
| 56 |
|
| 57 |
-
|
| 58 |
st.title("AI Carbon Calculator")
|
| 59 |
|
| 60 |
st.markdown('## Estimate your model\'s CO2 carbon footprint!')
|
| 61 |
|
| 62 |
-
st.markdown('
|
| 63 |
-
' other aspects of your model\'s carbon footprint based on the LCA methodology.')
|
| 64 |
-
|
| 65 |
-
st.markdown('You can use this tool to calculate different aspects of your model: the dynamic emissions, idle emissions embodied emissions.')
|
| 66 |
|
| 67 |
st.markdown('### Dynamic Emissions')
|
|
|
|
| 68 |
with st.expander("Calculate the emissions produced by energy consumption of model training"):
|
| 69 |
col1, col2, col3, col4 = st.columns(4)
|
| 70 |
with col1:
|
|
@@ -98,6 +96,8 @@ with st.expander("Calculate the emissions produced by energy consumption of mode
|
|
| 98 |
|
| 99 |
|
| 100 |
st.markdown('### Idle Emissions')
|
|
|
|
|
|
|
| 101 |
st.markdown('Do you know what the PUE (Power Usage Effectiveness) of your infrastructure is?')
|
| 102 |
|
| 103 |
|
|
@@ -107,9 +107,9 @@ st.markdown('Choose your hardware, runtime and cloud provider/physical infrastru
|
|
| 107 |
|
| 108 |
|
| 109 |
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
-
st.markdown('#### More information about our Methodology')
|
| 112 |
-
|
| 113 |
-
st.image('images/LCA_CO2.png', caption='The LCA methodology - the parts in green are those we focus on.')
|
| 114 |
|
| 115 |
-
|
|
|
|
| 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')
|
| 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 needed to train your model.')
|
| 66 |
with st.expander("Calculate the emissions produced by energy consumption of model training"):
|
| 67 |
col1, col2, col3, col4 = st.columns(4)
|
| 68 |
with col1:
|
|
|
|
| 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.markdown('Do you know what the PUE (Power Usage Effectiveness) of your infrastructure is?')
|
| 102 |
|
| 103 |
|
|
|
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
+
with st.expander("More information about our Methodology"):
|
| 111 |
+
st.markdown('Building on the work of the [ML CO2 Calculator](https://mlco2.github.io/impact/), this tool allows you to consider'
|
| 112 |
+
' other aspects of your model\'s carbon footprint based on the LCA methodology.')
|
| 113 |
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
+
st.image('images/LCA_CO2.png', caption='The LCA methodology - the parts in green are those we focus on.')
|