vc1492a/tidd

Add instrumentation for modeling / experiment runs (time needed for training, architecture used, etc.)

vc1492a opened this issue · 5 comments

  • Average GPU memory utilization
  • Average GPU core utilization
  • Time needed for training
  • Model Parameters (architecture, batch size etc.)

I thought we could perhaps record this information in a dictionary, and then at the end of the experiment write that dictionary and its objects to disk through a pickle file. I'll create a dictionary near the top of the notebook that we can see to keep track of information and objects in the experiments.

For now, I'm adding this functionality to the feature/baseline_model_experiment branch - we can change this down the road if desired.

@hamlinliu17 decided not to go ahead and do the dictionary route - what do you think? The way I see it, we could use a dictionary to store experiment objects and metadata or with a little more work, build out an Experiments class that allows us to execute and track modeling experiments / runs. What are your thoughts?

@hamlinliu17 could you please provide a brief update on this when you get the chance? Thanks! Happy to help out. I see this as one of the final issues before closing baseline PR and branch and then opening more focused branches for some of the other features to be developed. I'm happy to help!

@vc1492a Haven't been able to do much this past weekend. Currently, Experiment creates a training log csv file that just records `model architecture, periods trained, training time, and learn rate. Will be able to work on the code tonight and will try and add some kind of gpu stat onto the log

Going to close this issue for now since we have most of what we need. If i see any more things that should be added, I will reopen