Closed TianyuJIAA closed 3 weeks ago
pip install transformers==4.37.2 I solved the problem by changing the version
Hi @TianyuJIAA - We've merged the PR that resolves this here: https://github.com/microsoft/DeepSpeedExamples/pull/872
Please try again with the latest DeepSpeedExamples code.
Please comment if you need any more help and we can re-open the issue.
when i run the script "python e2e_rlhf.py --actor-model facebook/opt-1.3b --reward-model facebook/opt-350m --deployment-type single_gpu", it raise "ModuleNotFoundError: No module named 'transformers.deepspeed'".
I am very certain that all required Python libraries listed in the requirements file were installed before running the script.
error info:
python package:
note that python version == 3.12.3