Skip to content
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

reward model推理速度非常慢 #7140

Open
1 task done
yingzhao27 opened this issue Mar 3, 2025 · 0 comments
Open
1 task done

reward model推理速度非常慢 #7140

yingzhao27 opened this issue Mar 3, 2025 · 0 comments
Labels
bug Something isn't working pending This problem is yet to be addressed

Comments

@yingzhao27
Copy link

Reminder

  • I have read the above rules and searched the existing issues.

System Info

7b的reward model, max-length设置为200,推理一条样本 需要90s-150s不等,直接使用开源的7b Reward model, 加载AutoModelForSequenceClassification,单条样本推理时间在1-5s,这个时间几十倍差距太大了。请问是否有优化方法。
我加载模型的代码是按照api里面get_score接口做的,用的load_model函数加载

Reproduction

Put your message here.

Others

No response

@yingzhao27 yingzhao27 added bug Something isn't working pending This problem is yet to be addressed labels Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending This problem is yet to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant