-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from hariharan-devarajan/feature/thread_id
Features to Improve documentation
- Loading branch information
Showing
11 changed files
with
75 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,40 +7,33 @@ A low-level profiler for capture I/O calls from deep learning applications. | |
|
||
Requirements | ||
1. Python > 3.8 | ||
2. spack | ||
|
||
Using spack dlio-profiler | ||
``` | ||
spack env create -d ./spack-env | ||
spack env activate -p ./spack-env | ||
spack add [email protected] | ||
spack install | ||
``` | ||
|
||
create a virtual env for your python package where u will use dlio_profiler. | ||
``` | ||
python3 -m venv ./venv | ||
source venv/bin/activate | ||
pip install . | ||
``` | ||
install in local user | ||
``` | ||
export DLIO_LOGGER_USER=1 | ||
pip install . | ||
``` | ||
install directly from github | ||
``` | ||
pip install git+https://github.com/hariharan-devarajan/dlio-profiler.git | ||
``` | ||
Build dlio profiler through cmake | ||
## Build DLIO Profiler with pip | ||
|
||
Users can easily install DLIO profiler using pip. This is the way most python packages are installed. | ||
This method would work for both native python environments and conda environments. | ||
|
||
### From source | ||
|
||
```bash | ||
git clone [email protected]:hariharan-devarajan/dlio-profiler.git | ||
cd dlio-profiler | ||
# You can skip this for installing the dev branch. | ||
# for latest stable version use master branch. | ||
git checkout tags/<Release> -b <Release> | ||
pip install . | ||
``` | ||
cd dlio-profiler | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=../venv ../ | ||
make install -j | ||
|
||
### From Github | ||
|
||
```bash | ||
DLP_VERSION=dev | ||
pip install git+https://github.com/hariharan-devarajan/dlio-profiler.git@${DLP_VERSION} | ||
``` | ||
|
||
For more build instructions check [here](https://dlio-profiler.readthedocs.io/en/latest/build.html) | ||
|
||
Usage | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters