transformers version: 3.4.0 and 3.3.1Steps to reproduce the behavior:
pip install transformers[torch]from transformers.trainer import TrainingArguments, Trainerimport torchtorch.tensor([1,2,3])transformers 3.3.1 seg faults at step 3, transformers 3.4 seg faults at step 2.
No segmentation fault
This can be worked around, for anyone hitting this issue, by setting sentencepiece==0.1.91 explicitly.
Maybe we could set sentencepiece==0.1.91 in the setup.py to prevent this from happening, as we already had the issue with the 0.1.92.
Do you want to open a PR for that?
This should also be fixed by #8073
Most helpful comment
This can be worked around, for anyone hitting this issue, by setting
sentencepiece==0.1.91explicitly.