From 98950e67e9e4382d38f1b69734ec8d8d715207ed Mon Sep 17 00:00:00 2001 From: Ben Alkov Date: Sat, 24 Sep 2022 13:48:31 -0400 Subject: [PATCH] fix(install): pin 'transformers' Either Huggingface's 'transformers' lib introduced a regression in v4.22, or we changed how we're using 'transformers' in such a way that we break when using v4.22. Pin to 'transformers==4.21.*' Signed-off-by: Ben Alkov --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d0b739f82a..7323ad66bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,7 +22,7 @@ taming-transformers-rom1504 test-tube torch-fidelity torchmetrics -transformers +transformers==4.21.* flask==2.1.3 flask_socketio==5.3.0 flask_cors==3.0.10