MLInstrumentation is a python package for instrumenting your ML/AI code. It has support for popular Keras/Tensorflow and FastAI libraries currently. And other deep learning libraries support is under development.
MLInstrumentation package gathers metrics from a Linux/Windows/Solaris/AIX machine and reports to shared hosted Grafana dashboard. Users can select and filter the based on GroupName, FileName, etc to select data of their interest.
Examples of the metrics users can view and analyze:
- Program run duration/Training time
- Device types used for those - GPU/CPU
- Device details - TitanX, Intel Xeon, etc.
- Method call details - fit(), predict(), etc.
- Group name/Class name - custom tags including AIClass2018, etc.
pip install mlinstrumentation import mlinstrumentation
mlinstrumentation.start()
<your code>
mlinstrumentation.stop()