From 66bd10d6914d46e1e1764cf342d71401a8e42a2f Mon Sep 17 00:00:00 2001 From: Sean Naren Date: Tue, 20 Sep 2022 19:51:00 +0100 Subject: [PATCH] Pin Transformers version to fix CI (#4955) * Pin transformers version in CI to prevent offline tokenizer loading error Signed-off-by: SeanNaren * Drop version Signed-off-by: SeanNaren * Disable offline temporarily Signed-off-by: SeanNaren * Disable offline temporarily Signed-off-by: SeanNaren * Enable offline Signed-off-by: SeanNaren Signed-off-by: SeanNaren --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7c831502b6ed..4959b2efae22 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,6 +26,12 @@ pipeline { } } + stage('Pin Transformers Version (Hotfix)') { + steps{ + sh 'pip install transformers==4.21.2' + } + } + stage('Transformers Offline') { steps{ sh 'echo "TRANSFORMERS_OFFLINE="${TRANSFORMERS_OFFLINE}'