atfield 0.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- atfield/__init__.py +22 -0
- atfield/actuator.py +728 -0
- atfield/audit.py +221 -0
- atfield/cli.py +1216 -0
- atfield/collectors/__init__.py +195 -0
- atfield/collectors/amd.py +269 -0
- atfield/collectors/lhm.py +394 -0
- atfield/collectors/lhmlib.py +473 -0
- atfield/collectors/nvml.py +336 -0
- atfield/collectors/system.py +176 -0
- atfield/config.py +613 -0
- atfield/config_writer.py +393 -0
- atfield/forensics.py +331 -0
- atfield/http_api.py +1120 -0
- atfield/lhm_config.py +281 -0
- atfield/lhm_supervisor.py +734 -0
- atfield/policy.py +340 -0
- atfield/prometheus_exporter.py +234 -0
- atfield/rule_profiles.py +150 -0
- atfield/service.py +657 -0
- atfield/signals.py +356 -0
- atfield-0.4.2.dist-info/METADATA +277 -0
- atfield-0.4.2.dist-info/RECORD +27 -0
- atfield-0.4.2.dist-info/WHEEL +4 -0
- atfield-0.4.2.dist-info/entry_points.txt +4 -0
- atfield-0.4.2.dist-info/licenses/LICENSE +21 -0
- atfield-0.4.2.dist-info/licenses/LICENSE-third-party.md +57 -0
atfield/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""AT-Field — Windows GPU/VRAM/RAM watchdog for AI workloads.
|
|
2
|
+
|
|
3
|
+
Project goals (north stars; cite these when arguing about design choices):
|
|
4
|
+
|
|
5
|
+
1. **One-command install.** ``pip install atfield && atf install`` is the
|
|
6
|
+
entire setup. No manual NSSM download, no manual sensor-daemon install.
|
|
7
|
+
2. **Works on most setups out of the box.** Capability is detected at
|
|
8
|
+
startup; rules whose sensors aren't available are auto-disabled with a
|
|
9
|
+
clear log message rather than failing the service.
|
|
10
|
+
3. **Zero config for the common case.** Shipped defaults protect a typical
|
|
11
|
+
AI rig without the user opening ``config.toml``.
|
|
12
|
+
|
|
13
|
+
Public package surface is intentionally small at this stage; submodules are
|
|
14
|
+
imported on demand by the CLI (``atfield.cli``) and the service entrypoint
|
|
15
|
+
(``atfield.service``).
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
from __future__ import annotations
|
|
19
|
+
|
|
20
|
+
__version__ = "0.4.2"
|
|
21
|
+
|
|
22
|
+
__all__ = ["__version__"]
|