Open Zuo-Lihan opened 1 month ago
Could you check if all packages are installed with the correct versions?
pip install transformers==4.29.0
pip install pydantic==1.10
pip install deepspeed~=0.8.3
# if fast tokenization is used
pip install tokenizers==0.13.3
pip install fastDP@git+https://github.com/jyhong836/fast-differential-privacy.git # for `zero grad DP stage3()` error.
Also, please try to load the llama3 in a separate script. I believe this is not a problem of our code. It is more likely that it is caused by the version of transformers.
Can you help me fix it? I'll be grateful.