Upgrade transformers to fix CI (#17823)

Python package pipeline fails due to "tokenizers" compilation. Since
"tokenizers" is a dep of "transformers", we update its version and hope
a new solution had been there.

```
error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
--> tokenizers-lib/src/models/bpe/trainer.rs:517:47
```
This commit is contained in:
Wei-Sheng Chin 2023-10-07 09:51:24 -07:00 committed by GitHub
parent b76994dc3a
commit b5a103ae16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ pandas
scikit-learn
numpy==1.21.6 ; python_version < '3.11'
numpy==1.24.2 ; python_version >= '3.11'
transformers==v4.4.2
transformers==v4.16.1
rsa==4.9
tensorboard>=2.2.0,<2.5.0
h5py