# MLX transcription runtime rebuild and retirement record

Status: optional backend retired from the Workbench on 2026-07-28

Post-removal result: Workbench disk use fell from 3.2 GiB to 2.1 GiB. The
retained CPU transcription imports and both bounded resume-queue entrypoints
passed after removal.

## What was removed

The Workbench-root `.transcript-mlx/` directory was a Git-ignored Python 3.12
package target, not a virtual environment, model store, transcript corpus, or
authored research surface.

Pre-removal census:

- 1,140,936 KiB on disk (`du -sk`);
- 27,672 files and 2,478 directories;
- installed July 15, 2026; and
- last modified July 21, 2026.

The largest installed components were PyTorch (529 MiB), MLX (152 MiB),
llvmlite (125 MiB), SciPy (98 MiB), SymPy (72 MiB), NumPy (33 MiB), Numba
(29 MiB), and NetworkX (17 MiB).

No Whisper model weights were retained in the directory. Prior MLX runs used
`HF_HUB_CACHE=/private/tmp/mlx-models`, so model downloads were temporary.

## Why retirement is safe

The controlling House Oversight resume handoff routes the seven remaining
official-video gaps through the CPU runner:

```text
2026-01_to_2026-07-15/run_stt_queue.py remaining_a
2026-01_to_2026-07-15/run_stt_queue.py remaining_b
```

That runner configures the retained `.transcript-stt/` and
`.transcript-tools312/` dependency targets automatically. The remaining source
block is YouTube media retrieval, not transcription-engine failure.

The optional MLX backend produced two successful transcripts. Five later MLX
queue attempts failed at the anonymous YouTube media-download step with HTTP
403 responses; they did not fail during inference.

## Exact full rebuild

Resolve a current Python 3.12 interpreter through the active harness. Do not
reuse a cached runtime path copied from an older installation.

From the Workbench root:

```text
"<PYTHON_3_12>" -m pip install \
  --target .transcript-mlx \
  -r "Corpora/House Oversight/HOUSE_OVERSIGHT_TRANSCRIPTS/tools/mlx-runtime-lock-2026-07-15.txt"
```

The historical host-run environment was:

```text
PYTHONPATH=.transcript-mlx:.transcript-stt:.transcript-tools312
HF_HUB_CACHE=/private/tmp/mlx-models
```

Metal inference requires a host macOS process with Apple GPU access. It cannot
be validated in a headless or sandboxed process that exposes no Metal device.

## Future lean rebuild

The full package lock intentionally preserves the exact historical install,
including PyTorch. The normal preconverted-MLX inference path does not import
`mlx_whisper.torch_whisper`; PyTorch is used by conversion-related code.

A future lean runtime may omit PyTorch and its SymPy/NetworkX dependency tail,
but it must first pass a host-side transcription smoke test with word
timestamps. Do not treat that proposed reduction as validated merely because
the direct inference code does not import PyTorch.
