Closed sagnik closed 1 year ago
Thank you for your suggestion. We're pleased to inform you that we have introduced a Command Line Interface (CLI) tool for CarbonTracker in our latest release v1.2.0. This should essentially provide the functionality you were looking for.
Basic example:
carbontracker --script train.py --log_dir ./logs
Your usage example:
carbontracker --script "train.py arg1 arg2 ..." --log_dir ./logs
Given this new feature, I'm closing this issue. If you have any further feedback or face any issues with the new CLI tool, please don't hesitate to open a new issue.
A CLI tool that can take a DL training command (and it's arguments) as arguments would be helpful. It doesn't need to show per epoch consumption: just the total one.
Here's an example use case:
carbontracker <training-command> <*args>
. Thetraining-command
can be something likeallennlp-train
or something else.