This release is a pre-release and may not be stable for production use.
rocm-smi-exporter
Export rocm-smi metrics as prometheus metrics
Docker
docker build . -t powerml/rocm-smi-exporter
# Login with powerml repo in 1password and push to it
docker login
docker push powerml/rocm-smi-exporter
# -v /opt:/opt is needed to make rocm runtime library available to container
docker run -d --rm --name=smi-exporter -p 9001:9001 \
--device=/dev/kfd --device=/dev/dri --group-add video \
-v /opt:/opt powerml/rocm-smi-exporter
# You should see the ROCM_* prefixed metrics
curl localhost:9001/metrics
Pants build
Pants
uses explicit BUILD files to track source files' dependencies and builds.
Pants is hermetic, means that the entire build environment is specified in pants.toml, which is copied from example-python.
Extra
- Add args to systemd service
- The python code accepts
--portand other arguments - If needed, set its value when launching systemd service
- The python code accepts
Metadata
Release files for lamini-rocm-smi-exporter 0.0.1a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lamini_rocm_smi_exporter-0.0.1a5.tar.gz | 3.5 kB | Without provenance | Details for lamini_rocm_smi_exporter-0.0.1a5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lamini_rocm_smi_exporter-0.0.1a5-py3-none-any.whl | Python 3 | none | any | Details for lamini_rocm_smi_exporter-0.0.1a5-py3-none-any.whl |
Total release size: 7.5 kB
Release files / lamini_rocm_smi_exporter-0.0.1a5.tar.gz
| Download URL | lamini_rocm_smi_exporter-0.0.1a5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8ce064f4194c50036b1be04d18faddd3ce718ea9b2fca3e11aad2a55050faec
|
|
BLAKE2b-256 checksum How to use checksums |
bfdeb9e57fc55e8abd528618b31c5267e6bba214ba706b5fe5768efbaa9f118b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / lamini_rocm_smi_exporter-0.0.1a5-py3-none-any.whl
| Download URL | lamini_rocm_smi_exporter-0.0.1a5-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9d2dba012200ac7fd3f93febd51d1a057b0c2336a5c789a319620d3dd361d04
|
|
BLAKE2b-256 checksum How to use checksums |
650b56d653463c66d623ae3a836430feeac9ca7d52a6964906785b6f4154f700
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for lamini-rocm-smi-exporter 0.0.1a5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.