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.2.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.2-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gssr-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 34c2c9f4f0b9566a7957d01fd3dc3be2a88c766366df8bdcb24e59d318601a6f
MD5 3f0f0bacaed23ef2740a4700aa1b6d99
BLAKE2b-256 a6059bf421376822cb4f2b74b81120357043bd2482aa339bee3fddd403af0646

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gssr-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a263646611c02b529948bfbf223bebf741421a9966cad3efa295e1eb4a8e5f03
MD5 2f2facde7e712369c79ea00e1d8c43a7
BLAKE2b-256 06e42f7843ae666614200536baf8ee86ed3c862380639efcf18d75e94c3eeaa8

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