Skip to content

Commit

Permalink
Upgrade transformers to fix CI (#17823)
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
wschin authored Oct 7, 2023
1 parent b76994d commit b5a103a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5a103a

Please sign in to comment.