Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Microsoft] GreenAI #33

Open
will-iamalpine opened this issue Dec 21, 2021 · 6 comments
Open

[Microsoft] GreenAI #33

will-iamalpine opened this issue Dec 21, 2021 · 6 comments
Assignees
Labels

Comments

@will-iamalpine
Copy link

will-iamalpine commented Dec 21, 2021

Overview

Machine Learning training consumes vast amounts of energy. In this test case, we will calculate the SCI delta between two convolutional neural networks (InceptionV3 and DenseNet) for an image classification scenario.

Sites for Software Sustainability Actions

Energy Efficiency

  1. Training to be run on Azure Machine Learning GPU
  2. Prior analysis has shown that InceptionV3 Outperforms DenseNet:
  • 10.3% higher accuracy than DenseNet
  • 13.0% less $USD than DenseNet 
  • 20.0% less energy than DenseNet
  • 9.83% less time to train than DenseNet

Hardware Efficiency (N/A)

This will not be an action taken in this test case. One could propose that a reduced training time would consequently reduce embodied carbon, but this is out of scope for the calculations.

Carbon Awareness

  1. Time-shifting workloads
  2. Using WattTime's API and the GSF Carbon Aware SDK project, we will shift the workloads to the optimal time within a 24-hour period.

Procedure

(What) Software boundary

  • Cloud instance for containerized workload (containerized workloads)

(Scale) Functional unit

r = Machine Learning training job

(How) Quantification method

(Quantify) SCI Value Calculation

Energy efficiency:
image
carbon-aware findings:
image

(Report - WIP)

Disclose the software boundary and your calculation methodology, including items that you might not have included in the previous sections
image

@atg-abhishek
Copy link
Member

@buchananwp to ask the UW students who will be working on this to make a PR referencing this issue. The PR will be against an appendix.

@srini1978
Copy link
Contributor

@buchananwp Will the final SCI value include the calculated value of M?

@will-iamalpine
Copy link
Author

will-iamalpine commented Jan 24, 2022 via email

@atg-abhishek
Copy link
Member

@buchananwp we didn't end up creating a case study for this did we? Perhaps we can pick this up again given that you've published a paper on this? We have the folder for it here: https://github.com/Green-Software-Foundation/software_carbon_intensity/tree/dev/case-studies

cc @Henry-WattTime

@will-iamalpine
Copy link
Author

will-iamalpine commented Aug 4, 2022 via email

@Henry-WattTime
Copy link

Move to guidance document, link to academic paper that relays same information in more depth.

@seanmcilroy29 seanmcilroy29 transferred this issue from Green-Software-Foundation/sci Jan 13, 2023
@seanmcilroy29 seanmcilroy29 changed the title Test case submission: GreenAI [Microsoft] Use case submission: GreenAI Jan 13, 2023
@seanmcilroy29 seanmcilroy29 changed the title [Microsoft] Use case submission: GreenAI [Microsoft] GreenAI Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants