fix: pin transformers<5.0 for EAT model compatibility

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 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 16:11:18 +02:00
parent 3c3b1d74bb
commit fd043f4172
+1 -1
View File
@@ -13,7 +13,7 @@ soundfile>=0.12
# or manually: pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu128 # or manually: pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu128
torch>=2.0 torch>=2.0
torchaudio>=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 timm>=0.9
# Object detection # Object detection