-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
采样过程问题 #3181
Comments
拉下最新的main代码,已经修复了 # |
Traceback (most recent call last): 刚拉的main代码,还是会报错 --sampler_engine lmdeploy 方式: |
抱歉最近我们在忙于GRPO的事情,已修复 #3184 |
Describe the bug
swift sample --model /train_model/Qwen2.5-7B-Instruct/ --sampler_engine lmdeploy --num_return_sequences 5 --n_best_to_keep 3 --dataset /ms-swift/dataset/AI-ModelScope/alpaca-gpt4-data-zh#5 --prm_model /train_model/GRM-Llama3.2-3B-rewardmodel-ft/
swift sample --model /train_model/Qwen2.5-7B-Instruct/ --sampler_engine lmdeploy --num_return_sequences 5 --n_best_to_keep 3 --dataset /ms-swift/dataset/AI-ModelScope/alpaca-gpt4-data-zh#5 --orm_model math
都报错 /ms-swift/swift/llm/sampling/vanilla_sampler.py", line 136, in generate
if resp_list[j].choices[0].message.content:
AttributeError: 'AttributeError' object has no attribute 'choices'
--sampler_engine lmdeploy 换成pt,报错:'PtEngine' object is not callable
The text was updated successfully, but these errors were encountered: