Skip to content

nilax97/DL-Sys-Perf-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BENCHMARKED INSIGHTS CALCULATOR FOR CNNs/DNNs

By Nilaksh Agarwal (NA2886), Chandan Suri (CS4090)

Course project for COMSE6998_012_2021 - RACTICAL DEEP LEARNING SYSTEM PERFORMANCE under Prof. Parijat Due


Motivation:

  1. Very hard to gauge training time for a model based on the model parameters & GPU.

  2. Cost & Availability of GPUs is a big concern which can be resolved using a benchmarking calculator!

  3. Correlation between model parameters is mostly an unknown for different CNNs and FC networks.

alt text


Repository

cd src
python visualize.py

Visualizing the different types of models possible with our benchmarking tool

cd src
python experiment.py

Creating the different models, running the different models, and saving the running time as pickle files.

cd src
python analysis.py

Analyzing the various results, plotting the correlational graphs etc.

cd src
jupyter notebook
## Click : UI.ipynb

The final notebook to run the UI and the benchmarking calculator.


Results

Models generated

VGG Model

alt text

ResNet Model

alt text

Inception Model

alt text

Fully Connected Model

alt text


Analysis

VGG Analysis

alt text

alt text

ResNet Analysis

alt text

alt text

Inception Analysis

alt text

alt text

Fully Connected Analysis

alt text

alt text


Demo

alt text

alt text

alt text

alt text


Conclusions

  1. Based on the results we got, we can successfully model the training time and cost based on model parameters provided by the user without no memory and disk considerations.

  2. Also, we could successfully find correlations between various model parameters that could be mapped to the training time and costs. This can be quite easily extended to multiple GPUs to create a larger database of the model parameterizations vs. training time and costs. (if we get the GPUs!)

  3. Also, this can be extended to include multiple cloud providers to create a complete database of models vs. model configurations vs. GPUs vs. cloud providers that could help a lot of people to find which all configurations to consider without incurring any costs.

  4. Such a benchmarking tool can also help many companies in finding the best approach for their projects and thus, save a lot of time and resources.

About

Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published