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

[Draft] 159 delete codecarbonconfig after execution #160

Closed

Conversation

LukasFehring
Copy link
Collaborator

@LukasFehring LukasFehring commented Jan 9, 2024

Description

Add and remove codecaron config upon execution

Motivation and Context

Previously the codecarbon file remained on the cwd unnecessarily.

Changes

Instead of creating the code carbon config pon the creation of a PyExperimenter instance, it is now created and deleted upon exeuction

Type Of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

How has This Been Tested?

  • Database provider: Any
  • Python version: Any
  • Operating System: Any

Does this Close/Impact Existing Issues?

Checklist

  • My change is based on the latest stage of the develop branch.
  • My change required a change of the documentation, which has been done.
  • I checked that the documentation can be build, visualizes everything as expected, and does not contain any warnings.
  • I have added/adapted tests to cover my changes.
  • The tests can be executed successfully.
  • The notebooks can be executed successfully.
  • The notebooks can be executed with mysql as provider.
  • I have added a description of the changes to CHANGELOG.rst.

@LukasFehring LukasFehring linked an issue Jan 9, 2024 that may be closed by this pull request
@LukasFehring LukasFehring force-pushed the 159-delete-codecarbonconfig-after-execution branch from 8d12996 to c74580e Compare January 9, 2024 09:41
@LukasFehring LukasFehring force-pushed the 159-delete-codecarbonconfig-after-execution branch from c74580e to acf09a6 Compare February 20, 2024 14:58
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.

Delete .codecarbon.config after execution
1 participant