diff --git a/AGENTS.md b/AGENTS.md index 50912ad..051e814 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -336,7 +336,7 @@ fails loudly. Pi with `large-v3-turbo` lands on 1 worker. `TORCH_THREADS=0` auto-splits threads across the active workers. - mlx-whisper is pinned in the `mac` extra (`mlx-whisper==0.4.3`; `pip check` - is clean next to `torch==2.11.0`). `whisper_mlx.py` relies on its + is clean next to `torch==2.15.0`). `whisper_mlx.py` relies on its `ModelHolder`, so a bump must keep `tests/test_whisper_runtime.py` green and rerun the slow mlx test. - `transcript_combobulator.whisper.load_whisper_model` loads by file path on purpose. Loading by @@ -375,9 +375,9 @@ fails loudly. ## Dependencies (gotchas) -- `torch` and `torchaudio` are an exact pair; torchaudio's wheel declares no - dependencies so pip will not enforce it. torchaudio 2.11.0 is the final - maintenance line and caps torch. `torchaudio` must stay importable for +- torchaudio 2.11 is built against PyTorch's stable ABI and runs with torch + 2.11 and later (see its installation docs' compatibility matrix), so it does + not cap torch; 2.11.1 declares `torch>=2.11`. `torchaudio` must stay importable for `silero-vad`, but nothing calls its I/O: audio goes through `soundfile` and `ffmpeg`, so `torchcodec` (ABI-locked to torch, no aarch64 wheel before 0.11) is deliberately not a dependency. Do not reintroduce diff --git a/pyproject.toml b/pyproject.toml index d15d600..7527352 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,10 +9,11 @@ keywords = [] authors = [ { name = "Sean Kennedy", email = "sean@codeserious.com" } ] -# torch and torchaudio are an exact pair (torchaudio's wheel declares no -# dependencies, so pip will not enforce it). torchaudio 2.11 is its final -# maintenance line; 2.11.1 declares torch>=2.11. Nothing here calls torchaudio I/O, so -# torchcodec (ABI-locked to torch, no aarch64 wheel before 0.11) is not needed. +# torchaudio 2.11 is built against PyTorch's stable ABI and runs with torch 2.11 +# and later (https://pytorch.org/audio/main/installation.html#compatibility-matrix), +# so it does not cap torch; 2.11.1 declares torch>=2.11. Nothing here calls +# torchaudio I/O, so torchcodec (ABI-locked to torch, no aarch64 wheel before 0.11) +# is not needed. dependencies = [ "openai-whisper==20250625", "python-dotenv==1.2.4",