VaniDL is an tool for analyzing I/O patterns and behavior with Deep Learning Applications.
Project description
VaniDL
VaniDL is an tool for analyzing I/O patterns and behavior with Deep Learning Applications. It analyzes Darshan Extended traces to extract various I/O patterns with Deep Learning applications. The tool at it core uses vanidl which converts Darshan Profiler’s trace into knowledge for analysis. It is designed to provide low-level I/O behavior details to tensorflow applications in HPC.
VaniDL features include:
- Easy-to-use and understand high-level API for extracting I/O behavior of the applications.
- Fast prototyping through highly modular data representation through pandas for easy plotting of graphs.
- Full transparency over profiling data with access to internal data structures such as timeline of applications, aggregation functions, and drill up/down data views.
- Powerful helper functions to build a visual understanding of how applications perform I/O such as request distributions, file access pattern, and extracting file specific summaries.
- Easy to use File Summary and Job Summary extractors for understanding the data consumed by Deep Learning Applications
Overview
#Initialize class
profile = DLProfile()
#Load darshan file
status = profile.Load("./run1.darshan")
#Get Job Summary
summary = profile.GetSummary()
#Application Timeline of data operations
tl = profile.CreateIOTimeline()
plt.figure(figsize=(20,4))
plt.grid()
plt.plot(tl['time_step'], tl['operation_count']);
More examples are here
Installation
Requirements
- numpy==1.18.5
- pandas==1.0.4
- h5py==2.10.0
- tensorflow~=2.2.0
VaniDL Installation
To install VaniDL, the easiest way is to run
For the bleeding edge version (recommended):
pip install git+https://github.com/hariharan-devarajan/vanidl.git
For the latest stable version:
pip install vanidl
Otherwise, you can also install from source by running (from source folder):
python setup.py install
On Theta
module load VaniDL
Getting Started
See Getting Started with VaniDL to learn about VaniDL basic functionalities or start browsing TFLearn APIs.
Examples
There are many examples of analysis available, see Examples.
Contributions
This is the first release of VaniDL, if you find any bug, please report it in the GitHub issues section.
Improvements and requests for new features are more than welcome! Do not hesitate to twist and tweak VaniDL, and send pull-requests.
For more info: Contribute to VaniDL.
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vanidl-0.0.8.tar.gz
.
File metadata
- Download URL: vanidl-0.0.8.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1882deae0a3a93edbaf4b4dd90aabb14f63f5f74f3dd0c50c2a986edda17dcb |
|
MD5 | 6875d71ee9403d660eaa1b9d280358f9 |
|
BLAKE2b-256 | 0a9474952735da33a526c2b5ff56a3bde02e64b70568f03a3147b85607a2b2c2 |
File details
Details for the file vanidl-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: vanidl-0.0.8-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9571905ddfaf7912b8136342a423663479a57e222ade3625cb8c5312a3465c3c |
|
MD5 | ee340ef61d7ac69028cbd0490beea58e |
|
BLAKE2b-256 | c68fc6db03ba6a1512b11fa12e199cfad01f91c8e8688d785c8633e262153445 |