Skip to content

About

MLInstrumentation is a python package for automatically instrumenting your ML/AI code.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

MLInstrumention: Machine Learning/Artificial intelligence code instrumentation

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.

Use Case

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.

Sample code for MLInstrumention

Titanic classifier in Keras

Cifar10 classifier in FastAI

Installation

pip install mlinstrumentation

Getting started

Add start/stop methods

   import mlinstrumentation
   mlinstrumentation.start()
   
   <your code>
   
   mlinstrumentation.stop()

Query for the data

Dashboard here

Sample image Dashboard

About

MLInstrumentation is a python package for automatically instrumenting your ML/AI code.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors