Lightweight realtime heterogeneous accelerator monitoring with workload history.
Project description
Constella
constella-gpu is the PyPI distribution for Constella, a lightweight Web-based
accelerator monitoring and workload history platform for standalone servers and
small clusters.
Constella natively supports heterogeneous accelerator clusters across multiple hardware backends. It shows current accelerator activity in realtime, records workload history automatically, and makes completed training and inference jobs easy to review without requiring a Prometheus/Grafana stack.
The current release supports:
- NVIDIA GPUs: NVML with
nvidia-smifallback. - Ascend NPUs: DCMI with
npu-smifallback.
The wheel includes the production Web interface and the constella command, so
an installed package does not require a source checkout or a separate frontend
build.
Install
Constella requires Python 3.10 or newer.
pip install constella-gpu
The distribution name is constella-gpu; the installed command and Python
package are both named constella.
Quick start
Start the manager, SQLite history, and a local NVIDIA agent:
constella service start \
--run-dir ~/.constella/run \
--log-dir ~/.constella/logs
On an Ascend host, select the backend explicitly:
constella service start \
--device ascend \
--run-dir ~/.constella/run \
--log-dir ~/.constella/logs
Open http://127.0.0.1:8765/overview in a browser.
Inspect or stop the managed processes with the same runtime directory:
constella service status --run-dir ~/.constella/run --log-dir ~/.constella/logs
constella service stop --run-dir ~/.constella/run --log-dir ~/.constella/logs
Constella binds to 127.0.0.1 by default. Keep that default for local access,
or use SSH port forwarding when the service runs on a remote host.
Common commands
Print one accelerator snapshot:
constella probe --pretty
constella probe --device ascend --pretty
Run only the manager for a custom supervisor or a manager-only node:
constella serve --host 127.0.0.1 --port 8765
constella service start --no-local-agent
Manage agents defined in a cluster manifest:
constella cluster start --nodes nodes.yaml
constella cluster status --nodes nodes.yaml
constella cluster stop --nodes nodes.yaml
Optional history and job curves
constella service start enables SQLite history by default. Disable it for a
realtime-only deployment:
constella service start --no-db
The high-resolution job-curve sidecar is optional:
constella service start --highres-sidecar
Project links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file constella_gpu-0.1.1.tar.gz.
File metadata
- Download URL: constella_gpu-0.1.1.tar.gz
- Upload date:
- Size: 9.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eba33da6306975a18706d59515ac518ec07d4c4a0b6c0ff7c77d5d1b93b5bd69
|
|
| MD5 |
627c6c5a182c29b28aeb57ac32038358
|
|
| BLAKE2b-256 |
6099f6435757b7943741c602318bb2a7453a772e58fc9b60c96447195cb730ce
|
File details
Details for the file constella_gpu-0.1.1-py3-none-any.whl.
File metadata
- Download URL: constella_gpu-0.1.1-py3-none-any.whl
- Upload date:
- Size: 281.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81d0bdb00a4ccc8fdaa872768303a7fd2c4ab15e47065a32d1fb99571c117761
|
|
| MD5 |
53eed59298c2c3c0c5f31961dbb1851c
|
|
| BLAKE2b-256 |
3e235c1a18c2b1a08ae34a9457ad1b200941c1abd78df7e5afd8b9e6aa5412b5
|