Skip to content

Write periodically #66

@vict0rsch

Description

@vict0rsch

@kngoyal @Lothiraldan right now if the code fails the tracker does not write to emissions.csv, I cannot see the emissions for my comet exp which failed un-gracefully.

What do you think is best?

  1. write periodically so that no matter what we have data
  2. use atexit.register

@Lothiraldan how does comet handles the end/crash of a python script? So that codecarbon can write to the file before the last comet upload?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions