refactor(aquamarine): move the whisper-asr module into asr/

Assisted-by: DeepSeek Harness (claude-opus-5-5)
This commit is contained in:
Ryan Yin committed 2026-11-11 20:33:15 +08:00
1 parent 093f3ad81a
commit a6fd893cbb
5 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ Manual BIOS and power-saving settings are recorded in
| Part | Model | Notes |
| ------ | ----------------------------------------------------- | ------------------------------------------------------- |
| Board | Colorful CVN Z890 ARK FROZEN V20 (BIOS 1013) | moved from `ai` on 2026-10-13, so its EFI vars come too |
| CPU | Intel Core Ultra 7 270K Plus | Arrow Lake; the NPU serves `whisper-asr` (./asr.nix) |
| CPU | Intel Core Ultra 7 270K Plus | Arrow Lake; the NPU serves `whisper-asr` (./asr/) |
| Memory | 2x48G JUHOR (96G), 4800 MT/s | the 2x16G kit stayed with `ai` |
| GPU | 2x AMD Radeon AI PRO R9700, 32G each (RDNA4, gfx1201) | 64G of VRAM total |
| Root | Fanxiang S790 2TB | was `ai`'s `/data` disk until 2026-10-13 |
@@ -94,7 +94,7 @@ in
# Reads its model, writes its cache, uses the NPU and listens on the LAN.
serviceConfig = mylib.systemdHardening.service // {
ExecStart = "${pythonEnv}/bin/python ${./asr/server.py}";
ExecStart = "${pythonEnv}/bin/python ${./server.py}";
CacheDirectory = "whisper-asr";
DynamicUser = true;
Restart = "on-failure";
+1 -1
View File
@@ -33,7 +33,7 @@ in
./secureboot.nix
# services
./asr.nix
./asr
./idle-suspend.nix
];
@@ -4,7 +4,7 @@
...
}:
{
# The NPU serves ./asr.nix; the driver's compiler lookup is fixed by
# The NPU serves ./asr; the driver's compiler lookup is fixed by
# NixOS/nixpkgs#570230, which reached nixos-unstable-small first (WA-037).
hardware.cpu.intel.npu.enable = true;
nixpkgs.overlays = [ (_: _: { inherit (pkgs-small) intel-npu-driver; }) ];