Skip to main content

No project description provided

Project description

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. gssr-v0.3

pip install git+https://github.com/eth-cscs/GPU-saturation-scorer.git@gssr-v0.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 -wrap="python abc.py"
  • The agi option to run is "profile".
  • The "---wrap" flag will wrap the command you would like to run.
  • 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

A/Multiple 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

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

gssr-0.3.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gssr-0.3-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file gssr-0.3.tar.gz.

File metadata

  • Download URL: gssr-0.3.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for gssr-0.3.tar.gz
Algorithm Hash digest
SHA256 7174e825d2e7556ea5619ce9ce9c39290e559986ceba4843c53aeb3189a4fe49
MD5 1e5237b8e5acfc3423aab202ff6e1521
BLAKE2b-256 2d5b491c1c1ae604ff70607e42663852d47ff9c4432573c9649cedf3c760492e

See more details on using hashes here.

File details

Details for the file gssr-0.3-py3-none-any.whl.

File metadata

  • Download URL: gssr-0.3-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for gssr-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0d5520d6c90488b96179e8b63cae1fa3662b5b883575732a9ea6ce824040eaa
MD5 a06894d50e35a1597d6d3c3d0da16466
BLAKE2b-256 b9dd1adb3f2e9a42dad9a2f44d432c78b0d1844a1a6d4102a9681182206f373b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page