Closed xiangyang-95 closed 9 months ago
It seems like somehow when installing the bigdl-llm, it will reset the transformers package version to 4.31.0 which will cause the error above to present. If I follow the guide to upgrade the transformers package version to 4.34.0, the issue is no longer available.
how did you upgrade the trasnformers?
how did you upgrade the trasnformers?
Just pip install transformers==4.34.0
, you can find all available versions on pypi.
I am using the latest bigdl-llm[xpu]. Running the latest version with the qlora finetuning scripts will show the error log below. Commands to install:
Error Log:
Attached with the pip list: