From 35045810154c73eaacc1bd7d4897052af6371bb0 Mon Sep 17 00:00:00 2001 From: Henk Date: Thu, 16 Jun 2022 19:52:04 +0200 Subject: [PATCH] Transformers dependency bump Makes transformers 4.20 mandatory in the dependency lists, not because the old versions are no longer supported but because it contains fixes that benefit our users and this makes it easier for them to update to it. If you stick to an older version the OPT and XGLM workarounds we have in place will remain functional, but you miss on the enhancements newer transformers versions bring. --- environments/huggingface.yml | 2 +- environments/rocm.yml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/environments/huggingface.yml b/environments/huggingface.yml index e518be3b..da11ce10 100644 --- a/environments/huggingface.yml +++ b/environments/huggingface.yml @@ -20,4 +20,4 @@ dependencies: - flask-cloudflared - flask-ngrok - lupa==1.10 - - transformers>=4.17 \ No newline at end of file + - transformers>=4.20 \ No newline at end of file diff --git a/environments/rocm.yml b/environments/rocm.yml index 2ca9c670..1fd66d26 100644 --- a/environments/rocm.yml +++ b/environments/rocm.yml @@ -20,4 +20,4 @@ dependencies: - flask-cloudflared - flask-ngrok - lupa==1.10 - - transformers>=4.17 + - transformers>=4.20 diff --git a/requirements.txt b/requirements.txt index 7b5b967c..67c6ce74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -transformers>=4.19 +transformers>=4.20 Flask Flask-SocketIO requests