Stop excluding the Python that has been running this all along
Hussein+1: Claude Opus 5 (1M context)
378a466
Colab now ships 3.13, and the install refused:
ERROR: Package 'buddi-asr' requires a different Python:
3.13.15 not in '<3.13,>=3.10'
The `<3.13` cap was never justified by anything in the code. Every test run and
every local LoRA smoke in this session happened on 3.13.5 -- 46 passing, and a
real adapter written to disk. Raise the cap to `<3.14` and add the 3.13
classifier. An upper bound should record a version that was tried and failed,
not a version that had not been released yet.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uis9uRynosX69gefzFQeNN
Declare a torchao floor so LoRA injection survives the Kaggle image
Hussein+1: Claude Opus 5 (1M context)
c9c3030
The first real GPU run reached `get_peft_model` and died there:
ImportError: Found an incompatible version of torchao. Found version
0.10.0, but only versions above 0.16.0 are supported
PEFT's LoRA dispatcher calls `is_torchao_available()` while replacing each
target module, and that probe raises instead of returning False when an older
torchao is importable. Nothing in this project imports torchao; the Kaggle image
simply ships 0.10.0, which is enough to make every LoRA run fail. An absent
torchao is fine -- the probe returns False -- so this only bites images that
carry a stale one.
Reproduced locally against transformers 5.0.0 / peft 0.20.0 by installing
torchao 0.10.0: identical ImportError at the same dispatcher line. Upgrading to
0.18.0 and re-running completes the 2-step LoRA smoke with the same 294,912
trainable parameters as before.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uis9uRynosX69gefzF…
Make GPU training run on the Kaggle image
Hussein+1: Claude Opus 5 (1M context)
9954b4c
Four things stopped `train_gpu.sh` from reaching a first optimizer step on
Kaggle, each independently fatal.
A `.venv-gpu/pyvenv.cfg` from an earlier cloud run had been committed. Every
fresh clone therefore started with a directory that looks like a virtualenv but
has no `bin/`, and `python -m venv` on it fails inside ensurepip rather than
rebuilding it. Untrack the file, ignore the directory, and have the script
clear an incomplete tree before creating one so an existing clone self-heals.
The image ships transformers 5 and huggingface-hub 1.x, while the extras pinned
`transformers<5` and `huggingface-hub<1`. Installing the package downgraded the
hub underneath transformers and broke the import. Widen both ceilings; the only
hub API used is `snapshot_download`, which is unchanged in 1.x.
Transformers 5 removed `warmup_ratio` from `Seq2SeqTrainingArguments` and folded
it into `warmup_steps`, which reads a value below 1.0 as a fraction of total
steps -- the same meaning. Choose the s…