Repository navigation
Releases
kvalah 0.10.0-compute.4.dev.1
Compute v0.3 development preview focused on performance and recovery.
- Added a persistent CUDA and MLX sidecar runtime with cold, warm and adaptive residency and policy-driven eviction.
- Added negotiated, checksummed upload chunks, durable partial transfers, outbox recovery and status reconciliation.
- Preserve verified accepted updates when a new experiment retries the same round from the same checkpoint and assignment.
- Added pre-claim traffic budgets, separate LAN and WAN limits, bounded transfer recovery and connection diagnostics.
- The strict activity policy refuses GPU work when the backend cannot bound the duration of each operation.
- Existing model files, adapters and Compute archives remain usable. Multi-device R60 Optimized and real volunteer acceptance require separate hardware trials.
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.10.0-compute.3.dev.1
- Fixed central tokenization for MistralCommonBackend. Complete SFT conversations use finetuning mode and assistant targets are checked against serving-mode prefixes.
- Added verified import of local MLX conversions, with separate records for verified official BF16 weights and the administrator's local conversion attestation.
- Added dialogue-group checks across Train, Validation and Test, held-out evaluation of the final adapter, and continuation from a saved global checkpoint.
- Fixed a rare encoding failure when creating a coordinator TLS certificate.
- Existing installations reuse their Compute state, Python environments and local model files.
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.10.0-compute.2.dev.2
- Redesigned Compute with separate contribution and lab modes, participation presets, contextual status and locally translated errors.
- Added invitation-driven setup with approval, discovery, verified optional downloads and governed preflight.
- Added automatic local lab setup, device readiness and a standard three-device Smoke launch.
Verified on Windows with an RTX 5070 using an existing runtime and model, and with a three-worker CPU Smoke that committed both rounds. Setup on an OS without Python or a model, end-to-end downloads, and the three-device hardware trial are still pending. UX acceptance report.
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.10.0-compute.2.dev.1
Development build for local verification. GPU and hardware acceptance are pending.
- Keep task leases alive during artifact downloads, training, sealing the local result and delivering it to the coordinator. Reconcile lost upload replies against server status.
- Check the memory policy before task claim, reuse verified artifacts by hash and persist the payload traffic budget.
- Persist atomic local checkpoint generations and track run-specific checkpoint lineage even when two runs produce identical bytes.
- Bind new experiments to registered model digests, check the model before loading and export structured diagnostics from the Compute tab.
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.10.0-compute.1
Pre-release — NOT tested on real GPUs or Apple Silicon Metal.
Verified on the Linux build box on CPU only (torch-cpu-testand CPU-MLX on tiny random models, protocol/coordinator/governor/UI/CLI suites). Hardware runs on ENVERDASH (RTX 5070), ROG (RTX 2070) and MacBook M1 Pro are pending — see docs/compute/HW-TEST.md.
Added
- Kvalah Compute v0.2 (experimental, off by default): new Compute section in the sidebar with Participation, Devices, Training Lab, Monitoring and Models & data (English and Russian). The existing Devices → Compute tab (Offload GPU queue) and chat/agent/local inference workflows are unchanged.
- Process isolation & Node control (
compute/): separatecompute/host.mjsprocess started only when enabled (exits on close); Node owns the coordinator (SQLite WAL + CAS), worker, resource governor, pinned self-signed TLS, one-time pairing, per-device Ed25519 identities, admin approval/revoke, and FP64 FedAvg aggregation. - FFA-LoRA & SFT engine: canonical coordinator-generated frozen A, B-only absolute updates weighted by coordinator-counted assistant-only supervised tokens, central tokenization (
fix_mistral_regex=True, fixed system prompt), trusted validation NLL evaluator, report export + offlineverify-report, PEFT adapter export, model registry with pinned revisions + Hugging Face provenance check, and a read-onlyexperiment-v01.zipimport reproducing v0.1 bit-exactly. - Local Resource Governor: versioned consent per project/endpoint/fingerprint, GPU/CPU time share sliders, daily wall-time budget persisted across restarts, idle/AC/Windows game/local AI/full-screen/thermal/memory/quiet-hours/traffic limits; missing sensors pause with an explicit reason.
- CLI:
compute/cli.mjs(npm run compute -- --helporELECTRON_RUN_AS_NODE=1with packaged builds).
Known Limitations
- Hardware untested: CUDA NF4 (RTX 5070 BF16 / RTX 2070 FP16), Metal MLX (M1 Pro), 3-device LAN runs, memory/throughput benchmarks, and real-model PEFT loading have not been executed yet.
- Model provenance & quantization: the community MLX 4-bit model remains
unverified(its card listsBaserather thanInstruct); mixed CUDA NF4 vs MLX 4-bit quantization is a confounder and is reported rather than hidden. - Sensors & background mode: game detection exists only on Windows (
SHQueryUserNotificationState), so macOS/Linux users should untick Pause when games start if needed; closing the Kvalah window stops Compute (no tray/background mode in v0.2); energy consumption is not measured. - Runtime & pairing: Python 3.12 runtime and model folders are prepared manually using
compute/runtime/requirements-{cuda,mlx}.txt(no auto-installer or hash pinning yet); changing coordinator bind IP or port regenerates the TLS certificate and requires re-pairing; device keys use0600file storage where ElectronsafeStorageis unavailable (Linuxbasic_text/ CLI).
Fixed
test/mac-updater.test.mjs: the corrupted-sha512 case could equal the real digest (1 in 64 runs).
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.9.1
Added
- Compute tab in Devices (after Pool): a shared GPU queue with Kvalah Compute Offload. When the optional Compute Service is running, the kvalah chat and other agents take turns on the GPU instead of loading a model at the same time and filling VRAM. Without the service, kvalah works as before, and the tab reports that the service is not running. The tab is translated into all 10 languages. Checked on ENVERDASH (RTX 5070 Laptop): the tab is visible; cancelling a chat task unloads the model in Ollama (
ollama psempty, GPU utilization back to 0%).
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.9.0
Added
- Live activity indicator in the left sidebar, above On your computer, on every kvalah: what this computer does right now (Idle, Pool host · devices: N, Memory node for …, Running tasks for …, Distributing tasks), CPU and RAM use, GPU and its memory (NVIDIA via
nvidia-smi, AMD on Linux via sysfs, shared memory on a Mac), network ↑/↓ of the peer traffic with a pulsing dot and a small graph, and tok/s while generating. Updated every second; a click opens Devices. Light and dark themes, all 10 languages. - Workers report the same live stats over the token-authenticated API (
/peer/activity); the host shows per-device activity in Network devices and in the Pool memory tab (per-worker traffic and load), so it is visible that work really runs on every device. - Thunderbolt / USB4 networking: Thunderbolt Bridge on macOS (
networksetup), USB4(TM) P2P Network Adapter / Thunderbolt(TM) Networking on Windows (Get-NetAdapter) andthunderbolt-neton Linux are recognised. Every address is labelled Thunderbolt, Ethernet or Wi-Fi. - Discovery runs on all private interfaces, including link-local
169.254.x.x(Thunderbolt cables without DHCP). The shared port starts listening on addresses that appear later (a cable plugged in) without dropping tunnels. - Paired devices keep all their addresses; kvalah uses the fastest link (Thunderbolt > Ethernet > Wi-Fi) and fails over to the next one when a link goes away. The link in use is shown in Network devices and Pool memory; mixed setups (some laptops on cables, others on Wi-Fi) work.
- Measure links: round-trip time and throughput to every paired device (
/peer/ping,/peer/speedtest), also measured when a pool starts. - This device: the list of GPUs lent to the pool and Also lend integrated GPUs. Pool memory: Skip integrated GPUs (recommended).
Changed
- Pool speed: integrated GPUs (e.g. AMD Radeon 610M, Intel UHD) next to a discrete GPU no longer get layers by default: workers lend only their discrete GPUs (
rpc-server -d) and the host passes an explicit--devicelist. A computer with only an integrated GPU still uses it. Layers stay split by free memory (-ngl 999). - The pool warns when a worker is on Wi-Fi or on a slow link (> 4 ms or < 40 MB/s) and when the context is above 16K with workers.
- Pool device rows map each
RPCndevice to its worker and GPU name (a worker with two GPUs shows two rows). - README (EN/RU): the Several computers guide got Thunderbolt setup for Mac/Windows/Linux, the indicator, link measurement, iGPU options, a speed section with expected figures and new troubleshooting rows; docs/DISTRIBUTED.md describes links, failover and live activity.
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.8.5
Fixed
- Pool memory on Apple Silicon Macs: the Mac's GPU was never used (“llama.cpp did not find a Metal GPU… devices: BLAS (Accelerate)”). When kvalah itself runs as the Intel build under Rosetta, it downloaded the macOS x64 llama.cpp, and that build has no Metal backend at all: under Rosetta it lists only
BLAS: Accelerate. Confirmed on a GitHub Apple Silicon runner (x64 build:BLASonly; arm64 build:MTL0+BLAS). kvalah now detects the Mac's real CPU (sysctl.proc_translated/hw.optional.arm64) and always installs the arm64 llama.cpp there (an arm64 binary runs natively even when started from a translated app). - An already installed Intel llama.cpp on Apple Silicon is recognised (Mach-O CPU type) and re-downloaded automatically at startup; Devices → This device shows the build's architecture and a warning with the Download button until it is fixed.
- Model loading could hang forever (“Loading the model onto the devices…”, 0 MB of traffic). If llama-server prints nothing and nothing is sent to the devices for 3 minutes, the pool shows a warning with the last log lines; after 10 minutes without progress it stops with an error and the log instead of loading endlessly.
Added
- The Mac self-updater picks the zip for the Mac's real CPU, and an Intel build running on Apple Silicon switches itself to the arm64 build of the same version (a note in Devices → This device explains it).
- llama-server errors (Metal/ggml init failures,
failed to load, etc.) and, when no local GPU is found, the relevant--list-deviceslines are written to the journal. - After installing llama.cpp on macOS the quarantine attribute is cleared from its folder.
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.8.4
Fixed
- Pool memory on Macs: the device list showed
BLAS · 0.0 of 0.0 GB freeas a used local device. BLAS (Apple Accelerate) is a CPU helper that holds no layers and reports no memory; it is now marked not used with “memory not reported”. The Metal GPU (MTL0, from the macOS arm64/x64 llama.cpp build, which includes Metal) is the device that gets layers. Checked against the realllama-server --list-devicesoutput of b12651 on macOS. - Devices that report no memory show “memory not reported” instead of “0.0 of 0.0 GB”; a Metal GPU without a figure gets an estimate of its share of unified memory (marked ≈).
Added
- If this computer's GPU is selected but llama.cpp finds none (no Metal on a Mac, a CPU-only build elsewhere), the pool shows a warning, and Devices found by llama.cpp shows the raw
--list-devicesoutput. - A worker whose GPUs are busy with its own local pool is marked “GPUs busy with its own local pool”; a computer that lends its GPU to another host sees a note before starting its own pool.
Changed
- Settings: the Open “Devices”… button uses the accent (primary) style, so it no longer blends into the card (light and dark themes).
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy
kvalah 0.8.3
Fixed
- Pool memory → From Ollama: the list could stay empty when the models are not in the folder kvalah scans (
OLLAMA_MODELSor~/.ollama/models), e.g. when Ollama's model location was changed in the Ollama app or set only for the Ollama service. kvalah now also asks Ollama's API (at the Ollama URL from Settings, not the chat provider's URL, so it works while the chat uses the pool or another OpenAI-compatible server) and finds those models' GGUF files through/api/show. Without Ollama running, the folder scan still works. - The list is reloaded every time Devices opens, and a ↻ button refreshes it (it used to be loaded once per window).
Changed
- Picking a model in From Ollama fills the GGUF file field with the model's file path, so you see exactly what llama-server will load. The choice and path are kept after starting the pool.
- An empty list says why: “Ollama is not running at …” and/or “No Ollama models found in …”.
- New endpoint
POST /api/devices/gguf/resolve(local UI only).
Checksums: SHA256SUMS.txt in the release assets · Code signing policy · Privacy policy