The Kurgan 1.0.0: one process for the LCD, fans, lighting, local LLM servers and the web UI
This commit is contained in:
commit
f631386618
71 files changed
+14616
No files matched your search
@@ -0,0 +1,23 @@
|
||||
"""The Kurgan: one local service for this PC's backend systems.
|
||||
|
||||
Capabilities (one subpackage each):
|
||||
telemetry CPU/GPU/whole-PC power sensing, sampled once a second for everything else
|
||||
display the Thermaltake 3.9" LCD dashboard
|
||||
cooling Commander PRO case fans and motherboard top fans, with selectable profiles
|
||||
lighting Lighting Node CORE fan LEDs, Dominator DDR5 RAM and ASUS GPU LEDs
|
||||
ai the local LLM servers (Strata or llama.cpp), one at a time
|
||||
web the control UI and JSON API on 127.0.0.1
|
||||
Shared: hardware (Win32 HID, PawnIO modules), settings, theme, tray.
|
||||
"""
|
||||
|
||||
APP_NAME = "The Kurgan"
|
||||
__version__ = "1.0.0"
|
||||
|
||||
import os as _os
|
||||
|
||||
# Before numpy is imported anywhere: OpenBLAS otherwise commits ~750 MB of per-thread buffers on
|
||||
# this 28-thread CPU, which The Kurgan never uses (its numpy work is a few tiny vectors). The
|
||||
# marker lets the AI launcher give the LLM servers the default back.
|
||||
if "OPENBLAS_NUM_THREADS" not in _os.environ:
|
||||
_os.environ["OPENBLAS_NUM_THREADS"] = "1"
|
||||
_os.environ["KURGAN_PINNED_OPENBLAS"] = "1"
|
||||
Reference in new issue
Block a user