Skip to content

Commit

Permalink
Upgrade transformers to fix CI (#17830)
Browse files Browse the repository at this point in the history
### Description

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
```



### Motivation and Context
Cherry-pick from #17823
  • Loading branch information
snnn committed Oct 9, 2023
1 parent c3fd281 commit 2a1fd25
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 2a1fd25

Please sign in to comment.