I recently encountered some compatibility issue when using sentencepiece v0.2.0 together with latest transformers and tensorflow packages. When I ran some Python script that imports AutoProcessor class from transformers, the Python kernel was killed with the following error message:
ERROR: Flag 'minloglevel' was defined more than once (in files 'src/error.cc' and 'home/conda/feedstock_root/build_artifacts/abseil-split_1720857154496/work/absl/log/flags.cc').
I tried to downgrade sentencepiece to v0.1.99 and then the issue was solved.
I recently encountered some compatibility issue when using
sentencepiece v0.2.0
together with latesttransformers
andtensorflow
packages. When I ran some Python script that importsAutoProcessor
class fromtransformers
, the Python kernel was killed with the following error message:I tried to downgrade
sentencepiece
to v0.1.99 and then the issue was solved.Commands to reproduce the issue: