Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit bcc9361594a983a8bbca3f1802afe5c63bfe38e5
parent 9d2a19265dee3bf533432766991fabb87282d16f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue,  3 Nov 2026 10:17:44 -0500

voice ops: the engines' heavy-slot estimates from the bake-off's measured peaks (openvoice 2000 MB, seed-vc 3500, deepfilternet 400); VOICE_BIN declared (ENVIRONMENT.md)

- Measured 2026-11-03 as the run's whole process group, resident plus swapped (under memory pressure the kernel swaps a big model out and RSS alone undercounts it): rnnoise 112 MB, deepfilternet 111, openvoice 1625, seed-vc 2865 -- no GPU memory (CPU engines, torch's CPU wheels). Settable per engine in settings.voice.heavyEstimateMB; SETTINGS.md and settings.json.example regenerated.
- VOICE_BIN is in the env-var registry (the test that every variable the code reads is declared); ENVIRONMENT.md regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
MENVIRONMENT.md | 1+
MSETTINGS.md | 6+++---
Mcommon/lib/envVars.ts | 1+
Mcommon/lib/voiceApps.ts | 10++++++----
Msettings.json.example | 6+++---
5 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/ENVIRONMENT.md b/ENVIRONMENT.md @@ -37,6 +37,7 @@ The one override surface for where things live and which binary runs. Every one | `GENERATION_USAGE_FILE` | `<repo>/.generation/usage.jsonl` | The generation usage ledger: a line per finished Claude API generation job, read for the day's spend cap (`settings.generation.caps.daily`). The e2e server points it at a scratch file. | common/lib/paths.ts (getPaths) | | `TTS_BIN` | `<repo>/scripts/tts.mjs` | The text-to-speech wrapper (text in, 48 kHz WAV out) every engine runs behind. A test swaps in a fake here. | common/lib/paths.ts (getPaths) | | `ESPEAK_NG_BIN` | `espeak-ng` on PATH | eSpeak NG, the zero-install text-to-speech engine (the wrapper reads it too). | common/lib/paths.ts (getPaths) | +| `VOICE_BIN` | `<repo>/scripts/voice.mjs` | The voice-engine wrapper (a recording in, 48 kHz WAV out) every enhance and convert engine runs behind. A test swaps in a fake here. | common/lib/paths.ts (getPaths) | | `RSYNC_BIN` | `rsync` on PATH | Mirrors the saved-video store to a backup destination. | common/lib/paths.ts (getPaths) | | `FINDMNT_BIN` | `findmnt` on PATH | The read-only volume-identity probe behind storage locations. Optional. | common/lib/paths.ts (getPaths) | | `UDISKSCTL_BIN` | `udisksctl` on PATH | Mounts an attached volume from `/storage`. Optional. | common/lib/paths.ts (getPaths) | diff --git a/SETTINGS.md b/SETTINGS.md @@ -1078,10 +1078,10 @@ Default: "target": "orpheus:zac" }, "heavyEstimateMB": { - "deepfilternet": 300, + "deepfilternet": 400, "rnnoise": 300, - "openvoice": 1600, - "seed-vc": 3000 + "openvoice": 2000, + "seed-vc": 3500 } } ``` diff --git a/common/lib/envVars.ts b/common/lib/envVars.ts @@ -78,6 +78,7 @@ const DECLARED: EnvVarDecl[] = [ paths("GENERATION_USAGE_FILE", "`<repo>/.generation/usage.jsonl`", "The generation usage ledger: a line per finished Claude API generation job, read for the day's spend cap (`settings.generation.caps.daily`). The e2e server points it at a scratch file."), paths("TTS_BIN", "`<repo>/scripts/tts.mjs`", "The text-to-speech wrapper (text in, 48 kHz WAV out) every engine runs behind. A test swaps in a fake here."), paths("ESPEAK_NG_BIN", "`espeak-ng` on PATH", "eSpeak NG, the zero-install text-to-speech engine (the wrapper reads it too)."), + paths("VOICE_BIN", "`<repo>/scripts/voice.mjs`", "The voice-engine wrapper (a recording in, 48 kHz WAV out) every enhance and convert engine runs behind. A test swaps in a fake here."), paths("RSYNC_BIN", "`rsync` on PATH", "Mirrors the saved-video store to a backup destination."), paths("FINDMNT_BIN", "`findmnt` on PATH", "The read-only volume-identity probe behind storage locations. Optional."), paths("UDISKSCTL_BIN", "`udisksctl` on PATH", "Mounts an attached volume from `/storage`. Optional."), diff --git a/common/lib/voiceApps.ts b/common/lib/voiceApps.ts @@ -89,7 +89,9 @@ export type VoiceEngine = { setup: VoiceSetup; params: Readonly<Record<string, VoiceParamSpec>>; // The memory the job declares to the heavy slot when the setting is blank: - // measured peak (2026-11-03 bake-off) plus a margin. + // the measured peak (2026-11-03 bake-off: the run's process group, resident + // plus swapped — rnnoise 112 MB, deepfilternet 111 MB, openvoice 1625 MB, + // seed-vc 2865 MB; no GPU memory, they are CPU engines) plus a margin. defaultEstimateMB: number; // Args to paths.voiceBin (scripts/voice.mjs). build: (input: VoiceBuildInput) => string[]; @@ -173,7 +175,7 @@ const deepfilternet: VoiceEngine = { attenLimDb: { kind: "number", min: 0, max: 100, default: 100, doc: "the most the noise is turned down, in dB (100 = no limit; 20-30 keeps a little room)" }, postFilter: { kind: "boolean", default: false, doc: "DeepFilterNet's post-filter: stronger attenuation in the gaps" }, }, - defaultEstimateMB: 300, + defaultEstimateMB: 400, build: (i) => [...common("enhance", "deepfilternet", i), "--install", i.installDir], }; @@ -219,7 +221,7 @@ const openvoice: VoiceEngine = { params: { tau: { kind: "number", min: 0, max: 1, default: 0.3, doc: "the converter's temperature (upstream's 0.3; lower holds closer to the input)" }, }, - defaultEstimateMB: 1600, + defaultEstimateMB: 2000, build: (i) => [ ...common("convert", "openvoice", i), "--python", voiceVenvPython(i.installDir), @@ -316,7 +318,7 @@ const seedVc: VoiceEngine = { cfgRate: { kind: "number", min: 0, max: 1, default: 0.7, doc: "classifier-free guidance (upstream's 0.7)" }, refSeconds: { kind: "number", min: 3, max: 25, default: 10, doc: "seconds of the reference the model is prompted with (each window is 30 s less this: less is faster)" }, }, - defaultEstimateMB: 3000, + defaultEstimateMB: 3500, build: (i) => [ ...common("convert", "seed-vc", i), "--python", voiceVenvPython(i.installDir), diff --git a/settings.json.example b/settings.json.example @@ -267,10 +267,10 @@ "target": "orpheus:zac" }, "heavyEstimateMB": { - "deepfilternet": 300, + "deepfilternet": 400, "rnnoise": 300, - "openvoice": 1600, - "seed-vc": 3000 + "openvoice": 2000, + "seed-vc": 3500 } }, "generation": {