AI Training Intelligence Dashboard
Project description
TrainSight
AI Training Intelligence Dashboard for live GPU telemetry, anomaly detection, and training-oriented diagnostics.
Architecture
Collectors -> EventBus -> Analyzers -> Predictors -> Dashboard / CLI / Logger
Core modules:
trainsight/core/event.pytrainsight/core/bus.pytrainsight/core/dispatcher.pytrainsight/collectors/gpu_collector.pytrainsight/analyzers/regression_anomaly.pytrainsight/predictors/oom_predictor.pytrainsight/plugins/loader.py
Installation
pip install .
CLI Usage
trainsight
HuggingFace Integration
from trainsight import Dashboard
from trainsight.integrations.huggingface import TrainSightCallback
See examples/huggingface_example.py.
Plugin Example
Create ~/.trainsight/plugins/my_plugin.py:
def register(bus):
bus.subscribe("gpu.stats", custom_handler)
def custom_handler(event):
print("Custom plugin:", event.payload)
Config Example
Default config: trainsight/config/default.yaml
mode: full
enable_behavior_learning: true
oom_model: statistical
thermal_limit: 85
refresh_rate: 30
Official Build Verification
- Soft check (default): warns on signature/hash mismatch.
- Strict mode: refuses startup when verification fails.
Enable strict mode with either:
export TRAINSIGHT_OFFICIAL_ONLY=1
or in config:
strict_official_build: true
Prometheus Exporter
Enable in config:
enable_prometheus: true
prometheus_port: 9108
Metrics endpoint:
http://127.0.0.1:9108/metrics
Test Framework
Install dev deps and run tests:
pip install -e .[dev]
pytest -q
Tests are hardware-independent and use pure logic paths.
Debug / Simulation / Replay
trainsight --debug
trainsight --simulate
trainsight --replay gpu_usage_log.csv
Textual inspector:
TEXTUAL_DEVTOOLS=1 trainsight --debug
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 trainsight-0.1.0.tar.gz.
File metadata
- Download URL: trainsight-0.1.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93e48ac427c853b71b5f3fcb9d2402ef160bec9d2167fd81ee69c8e5a44b0e0d
|
|
| MD5 |
395822a4c8ade1703556897d490076c2
|
|
| BLAKE2b-256 |
c3d02a00e1f2da76e2984b96f8addcbe7f22266759f1641e9a779aa2ceea9057
|
File details
Details for the file trainsight-0.1.0-py3-none-any.whl.
File metadata
- Download URL: trainsight-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33c6d30a3d3a484964e084da746530b1d2b1f1e0e1b04f12de2f516757800ecd
|
|
| MD5 |
cd52375834a7f5b919bc10ccda616f0e
|
|
| BLAKE2b-256 |
b958c65e3b165cfafb017f14384ba4c55cf6524c65ed0e1953ae4664d3ba939c
|