From fd043f4172590a87d142b817faec8df31fc20d92 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 19 Apr 2026 16:11:18 +0200 Subject: [PATCH] fix: pin transformers<5.0 for EAT model compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EAT remote model code (worstchan/EAT-base_epoch30_finetune_AS2M) is incompatible with transformers 5.x — missing all_tied_weights_keys attribute added in the v5 PreTrainedModel API. Co-Authored-By: Claude Opus 4.6 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 10d8deb..c9b324d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ soundfile>=0.12 # or manually: pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu128 torch>=2.0 torchaudio>=2.0 -transformers>=4.30 +transformers>=4.30,<5.0 # EAT remote model code incompatible with transformers 5.x timm>=0.9 # Object detection