NOAH XIE Visual Study Notes · Observatory & Archive
Noah Xie
Nunc

t = 0.00Origin · Home

Noah Xie

中文

Training Monitor — Electron SSH/WSL GPU & Training Process Monitor

Completed

Problem & System Overview

Training Monitor is a Windows desktop application engineered to observe and manage long-running deep-learning experiments across remote Linux SSH hosts and local WSL distributions from one unified dashboard. Rather than trusting fragile PID files or scraping noisy terminal scrollback, it combines a read-only Python /proc probe, byte-offset resumable log ingestion, a local SQLite Worker cache, and a tmux-hosted idle-GPU auto-launcher.

Core Capabilities & Engineering Modules

Subsystem Repository Modules Responsibilities
Read-Only Process Probe src/probe/readonly_probe.py, src/domain/ Inspects /proc processes, working directories, entry scripts, and checkpoint files; computes evidence-confidence attribution, step rate, global/epoch progress, and ETA
Resumable Multi-Log Console src/logs/, src/parsers/, src/store/ Tracks persistent byte offsets across training logs, status JSON, and queue locks; supports backfill, search filtering, and SQLite Worker caching with @tanstack/react-virtual
Multi-GPU Telemetry src/transport/, src/renderer/ Attributes GPU utilization and VRAM to confirmed training processes in task view, plus full-host GPU overview and dedicated native GPU window (Light / Dark / System themes)
SSH tmux Idle Auto-Launch src/launch/ Watches remote GPU utilization, VRAM, and consecutive idle duration thresholds; safely stages and starts queued jobs inside remote tmux sessions with a persistent launch ledger
Verification Suite tests/, Vitest, Playwright Electron Covers unit, domain, SQLite worker store, SSH/WSL transport, simulation scenarios (test:simulations), runtime checks, and Electron desktop E2E tests (test:desktop)

Collection & Auto-Launch Architecture

Technology Stack & Commands

  • Desktop & UI: Electron 44.9.0, React 19.3.1, TypeScript 7.0.2, Vite 8.3.4, @tanstack/react-virtual.
  • Storage & Transport: Node Worker + SQLite cache, Python read-only probe, ssh.exe / wsl.exe transport wrappers.
  • Build & Testing: npm run typecheck, npm run test:unit, npm run test:simulations, npm run test:runtime, npm run test:desktop, npm run package:win.