Spaces:
Running
Running
Ilyas KHIAT
commited on
Commit
•
f405da4
1
Parent(s):
fb9bb4a
emission export fin fin
Browse files- .streamlit/config.toml +4 -1
- emissions.csv +15 -1
- empreinte_carbone.py +1 -1
.streamlit/config.toml
CHANGED
@@ -2,4 +2,7 @@
|
|
2 |
maxUploadSize = 5
|
3 |
|
4 |
[theme]
|
5 |
-
base="light"
|
|
|
|
|
|
|
|
2 |
maxUploadSize = 5
|
3 |
|
4 |
[theme]
|
5 |
+
base="light"
|
6 |
+
primaryColor="#63abdf"
|
7 |
+
secondaryBackgroundColor="#fbf7f1"
|
8 |
+
textColor="#011166"
|
emissions.csv
CHANGED
@@ -1932,4 +1932,18 @@ timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_po
|
|
1932 |
2024-07-19T01:38:37,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1775.4683830738068,0.0094169103167406,5.303902004966995e-06,42.5,4.645089003865759,5.86829710006714,0.0209589580118656,0.0027288796831019,0.0028904042258999,0.0265782419208675,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1933 |
2024-07-19T01:41:13,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1931.395532131195,0.0102349599003526,5.299256278727597e-06,42.5,4.933496601086312,5.86829710006714,0.0227999834333856,0.0029425873540679,0.0031445303032684,0.0288871010907221,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1934 |
2024-07-19T01:41:13,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1931.723818778992,0.0102371602534391,5.299494758991918e-06,42.5,20.5798162385918,5.86829710006714,0.0228038472771644,0.0029444468,0.0031450172794172,0.0288933113565817,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1935 |
-
2024-07-19T01:41:14,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1931.947479724884,0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1932 |
2024-07-19T01:38:37,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1775.4683830738068,0.0094169103167406,5.303902004966995e-06,42.5,4.645089003865759,5.86829710006714,0.0209589580118656,0.0027288796831019,0.0028904042258999,0.0265782419208675,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1933 |
2024-07-19T01:41:13,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1931.395532131195,0.0102349599003526,5.299256278727597e-06,42.5,4.933496601086312,5.86829710006714,0.0227999834333856,0.0029425873540679,0.0031445303032684,0.0288871010907221,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1934 |
2024-07-19T01:41:13,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1931.723818778992,0.0102371602534391,5.299494758991918e-06,42.5,20.5798162385918,5.86829710006714,0.0228038472771644,0.0029444468,0.0031450172794172,0.0288933113565817,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1935 |
+
2024-07-19T01:41:14,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,1931.947479724884,0.0102388681859406,5.299765285233692e-06,42.5,30.635494431807768,5.86829710006714,0.0228064759029282,0.0029463245792799,0.0031453313347669,0.0288981318169751,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1936 |
+
2024-07-19T01:56:25,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,2843.041211605072,0.0149889143603273,5.272141078765846e-06,42.5,4.605191257947191,5.86829710006714,0.0335624079147974,0.0041118021783279,0.0046304289657957,0.0423046390589212,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1937 |
+
2024-07-19T01:56:25,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,2843.781839609146,0.0149930916732753,5.272236943230503e-06,42.5,9.120531260583846,5.86829710006714,0.0335711754348543,0.0041136760687159,0.0046315775831177,0.042316429086688,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1938 |
+
2024-07-19T02:16:38,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4055.82248878479,0.0213068877377413,5.2534073659928114e-06,42.5,4.560897978998361,5.86829710006714,0.0478799768327011,0.0056492247971539,0.0066072547902226,0.0601364564200777,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1939 |
+
2024-07-19T02:17:00,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4078.241397619248,0.0214226134087189,5.252904700841111e-06,42.5,4.090042108017978,5.86829710006714,0.0481446326595213,0.00567469203975,0.0066437552922585,0.0604630799915298,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1940 |
+
2024-07-19T02:17:22,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4099.849984645844,0.0215382398790987,5.25342145682417e-06,42.5,6.010718742534093,5.86829710006714,0.0483997222322556,0.00571076567972,0.0066789356677209,0.0607894235796965,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1941 |
+
2024-07-19T02:17:36,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4114.430104017258,0.0216135210423496,5.253102008282156e-06,42.5,4.107953477974473,5.86829710006714,0.0485718367889523,0.0057273984708039,0.0067026615093057,0.061001896769062,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1942 |
+
2024-07-19T02:17:36,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4114.666159152985,0.0216156886934341,5.25332745290904e-06,42.5,46.62018645890937,5.86829710006714,0.0485746116308702,0.0057304098621019,0.0067029932439781,0.0610080147369504,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1943 |
+
2024-07-19T02:17:37,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4114.939565658569,0.0216217715582155,5.2544566483214165e-06,42.5,181.32296375690456,5.86829710006714,0.0485778275418612,0.0057439787618459,0.0067033766812451,0.0610251829849524,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1944 |
+
2024-07-19T02:17:53,codecarbon,2d31782d-58b8-4c7a-8389-2e2da6f1d9fb,4131.699380874634,0.021710718602795,5.254670439793499e-06,42.5,5.580071701115893,5.86829710006714,0.0487756390838159,0.0057699457270639,0.0067306418804968,0.0612762266913768,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1945 |
+
2024-07-19T02:18:26,codecarbon,7454f791-bdca-48b7-ae75-8095ce0746e8,0.0375151634216308,1.5835125479659934e-07,4.220993335865242e-06,42.5,0.0,5.86829710006714,4.30626670519511e-07,0.0,1.6303141584046445e-08,4.469298121035574e-07,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1946 |
+
2024-07-19T02:18:38,codecarbon,7454f791-bdca-48b7-ae75-8095ce0746e8,11.78784990310669,6.378986366681639e-05,5.411492697239432e-06,42.5,6.677405357682133,5.86829710006714,0.0001391263763109,2.178751743001084e-05,1.912630751501695e-05,0.000180040201256,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1947 |
+
2024-07-19T02:18:40,codecarbon,7454f791-bdca-48b7-ae75-8095ce0746e8,14.123367071151732,7.839576639003513e-05,5.550784454945283e-06,42.5,15.278309647386507,5.86829710006714,0.0001666877441936,3.1686692016030804e-05,2.288939392178748e-05,0.0002212638301314,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1948 |
+
2024-07-19T02:18:40,codecarbon,7454f791-bdca-48b7-ae75-8095ce0746e8,14.3864483833313,8.063235496970929e-05,5.604743632426547e-06,42.5,39.91153357146412,5.86829710006714,0.0001697760214408,3.4553638754014626e-05,2.3246706676195765e-05,0.000227576366871,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
1949 |
+
2024-07-19T02:18:41,codecarbon,7454f791-bdca-48b7-ae75-8095ce0746e8,14.668333053588867,8.2291444279028e-05,5.610142882520243e-06,42.5,12.163687450427314,5.86829710006714,0.00017310382657580905,3.5499472844036095e-05,2.365567305623643e-05,0.00023225897247608157,The Netherlands,NLD,south holland,,,Windows-11-10.0.22631-SP0,3.12.3,2.5.0,16.0,12th Gen Intel(R) Core(TM) i5-12500H,1.0,1 x NVIDIA GeForce RTX 4050 Laptop GPU,4.4813,51.9235,15.648792266845703,machine,N,1.0
|
empreinte_carbone.py
CHANGED
@@ -92,7 +92,7 @@ def display_carbon_footprint():
|
|
92 |
|
93 |
serveur_emission = st.session_state['emission'].stop()
|
94 |
emission_api = sum([value["el"] for value in st.session_state["partial_emissions"].values()])
|
95 |
-
|
96 |
total_emission = serveur_emission + emission_api
|
97 |
|
98 |
pourcentage_api = emission_api / total_emission
|
|
|
92 |
|
93 |
serveur_emission = st.session_state['emission'].stop()
|
94 |
emission_api = sum([value["el"] for value in st.session_state["partial_emissions"].values()])
|
95 |
+
print(serveur_emission, emission_api)
|
96 |
total_emission = serveur_emission + emission_api
|
97 |
|
98 |
pourcentage_api = emission_api / total_emission
|