GPU Saturation Scorer (gssr)
gssr is a utility meant to collect and analyze GPU performance metrics on the CSCS ALPS System. it is based on top of Nvidia's DCGM tool.
Install
From Pypi
pip install gssr
From GitHub Source
pip install git+https://github.com/eth-cscs/GPU-saturation-scorer.git
To install from a specific branch, e.g. the development branch
pip install git+https://github.com/eth-cscs/GPU-saturation-scorer.git@dev
To install a specific release from a tag, e.g. v0.3.3
pip install git+https://github.com/eth-cscs/GPU-saturation-scorer.git@v0.3.3
Profile
Example
If you are submitting a batch job and the command you are executing is
srun python test.py
The srun command should be modified as follows.:
srun gssr profile python test.py
- The gssr option to run is "profile".
- The default output directory is "profile_out_{job_id}"
- You can also set a label to this output data if you prefer with the "-l" flag
Analyze
Metric Output
The profiled output can be analysed as follows.:
gssr analyze -i ./profile_out
PDF File Output with Plots
gssr analyze -i ./profile_out --report
PDF report(s) will be generated containing all the generated plots.
Exporting the Profiled Output as a SQLite3 file
gssr analyze -i ./profile_out --export data.sqlite3
More Options
gssr --help
Metadata
Release files for gssr 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gssr-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gssr-0.4.0-py3-none-any.whl
| Download URL | gssr-0.4.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa80ae76c41bfbe5374cbb00e0a7dd9bc2df5f607b8f14aec3ae60a30b8d4f96
|
|
BLAKE2b-256 checksum How to use checksums |
c1c2328de3cda627c0bb6ea6ea4993dc80a69fb78a1624cf5a98eb3aea61969d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|