Skip to content

Commit

Permalink
Pin Transformers version to fix CI (#4955)
Browse files Browse the repository at this point in the history
* Pin transformers version in CI to prevent offline tokenizer loading error

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Drop version

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Disable offline temporarily

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Disable offline temporarily

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

* Enable offline

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>

Signed-off-by: SeanNaren <snarenthiran@nvidia.com>
  • Loading branch information
SeanNaren authored and ericharper committed Sep 20, 2022
1 parent 8f2202e commit 66bd10d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit 66bd10d

Please sign in to comment.