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

Codespaces merge into main #993

Merged
merged 100 commits into from
Nov 23, 2024
Merged

Codespaces merge into main #993

merged 100 commits into from
Nov 23, 2024

Conversation

ArneTR
Copy link
Member

@ArneTR ArneTR commented Nov 22, 2024

No description provided.

ArneTR and others added 30 commits November 7, 2023 11:59
…ace container; added devcontainer config for containerized version
ArneTR and others added 22 commits June 3, 2024 20:20
* main: (32 commits)
  Updated Cloud Energy
  Bump orjson from 3.10.5 to 3.10.6 (#830)
  Added exact uri mode
  Bump pydantic from 2.7.4 to 2.8.0 (#829)
  Bump pylint from 3.2.3 to 3.2.5 (#828)
  Bump psycopg[binary] from 3.1.19 to 3.2.1 (#827)
  Bump redis from 5.0.6 to 5.0.7 (#822)
  Added machine name
  Calling fixture (#826)
  Co2eq totals and Co2i totals (#823)
  Wrong YML. Reducing guard clauses to minimum necessary
  check-date check added for skipped workflows
  Bump scipy from 1.13.1 to 1.14.0 (#820)
  Updated cloud energy
  Kaniko enable multi-stage builds (#819)
  Global timeout (#814)
  Local images support (#813)
  Warmup for machines added if too cool (#817)
  Added machine
  Added randomly (#818)
  ...
* Fix repo path in example

* minor

* Add VS Code extensions

* Add hint to make api port public to avoid CORS issues

* Remove YAML VS Code extension

* Open markdown files in preview mode by default

* Ignore backuped Makefile in Git

* Ensure ports are set to public after Codespace restart

* Update git repository URL

* Improve quickstart and add troubleshooting information

---------

Co-authored-by: Arne Tarara <[email protected]>
* main: (210 commits)
  Clarification on Turbo Boost and when it is off
  Monotonic and low value check (#973)
  Phase Stats are now also saved if runs fails (#972)
  RAPL energy filtering moved to provider (#979)
  fixes the GCC warnings (#985)
  Bump psycopg-pool from 3.2.3 to 3.2.4 (#982)
  Bump aiohttp from 3.11.2 to 3.11.4 (#984)
  Fixed SCI link
  Hinting UTC
  Removed duplicate tests and fixed tests
  Bump aiohttp from 3.11.0 to 3.11.2 (#981)
  Added unit test for rescale energy value
  Bump aiohttp from 3.10.10 to 3.11.0 (#980)
  (fix): Repo submission to software/add was failing on non-main branch
  Added temporary rescale guard clause
  (fix): energy unit was falsely omitted in badge
  Bump fastapi[standard] from 0.115.4 to 0.115.5 (#978)
  Made cluster accuracy warning more verbose
  Removing duplicate value check in cluster
  Bump tqdm from 4.66.6 to 4.67.0 (#975)
  ...
@ArneTR
Copy link
Member Author

ArneTR commented Nov 23, 2024

@davidkopp I have merged the codespaces branch, refactored the CGroup reporters and made all changes explicit in the codespaces setup file.

After this merge it should now be possible to just open a codespace on main without any special setting or selecting the "Workshop" template.

If you are still using it feel free to give it a try if it works for you. Feedback would be greatly appreciated!

@ArneTR ArneTR merged commit 6172f32 into main Nov 23, 2024
0 of 3 checks passed
@ArneTR ArneTR deleted the codespaces branch November 23, 2024 13:51
ArneTR added a commit that referenced this pull request Nov 23, 2024
…s-tool

* 'main' of github.com:green-coding-solutions/green-metrics-tool:
  Codespaces merge into main (#993)
  Container energy idle (#992)
@davidkopp
Copy link
Contributor

That's great!

There is one issue: The added parameter VHost_Ratio for the xgboost model does not work:

TypeError: PsuEnergyAcXgboostMachineProvider.__init__() got an unexpected keyword argument 'VHost_Ratio'

@ArneTR
Copy link
Member Author

ArneTR commented Nov 23, 2024

Thanks. I had already addressed that in #994 but not merged. Should be working now.

The outputted energy is also now tailored to the Codespaces VM. Which was not the case before.

@davidkopp
Copy link
Contributor

Perfect. It works now 😀

ArneTR added a commit that referenced this pull request Nov 23, 2024
* main:
  Vhost ratio for XGBoost provider (#994)
  Codespaces merge into main (#993)
  Container energy idle (#992)
  Monotonic and low value check (#973)
  Phase Stats are now also saved if runs fails (#972)
  RAPL energy filtering moved to provider (#979)
  fixes the GCC warnings (#985)
  Bump psycopg-pool from 3.2.3 to 3.2.4 (#982)
  Bump aiohttp from 3.11.2 to 3.11.4 (#984)
  Fixed SCI link
  Hinting UTC
  Removed duplicate tests and fixed tests
  Bump aiohttp from 3.11.0 to 3.11.2 (#981)
  Added unit test for rescale energy value
  Bump aiohttp from 3.10.10 to 3.11.0 (#980)
  (fix): Repo submission to software/add was failing on non-main branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants