-
Notifications
You must be signed in to change notification settings - Fork 329
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
ResponseBatch 返回结果不正确 #429
Comments
您好,您是否可以提供一个复现的例子呢?据我观察代码''FillLLMInputs方法似乎没有做前向的padding。 |
是的,没实现padding。所以batch输出结果不正确。 |
看了一下代码,
|
@ztxz16 有计划增加qwen的 batch推理 padding支持吗。 |
经过测试 baichuan2的 batch推理是正常的。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
同一batch中的prompt,有的prompt返回正确,有的prompt返回不正确,检查后发现是padding 的问题,代码中并没有padding mask的相关实现啊。
The text was updated successfully, but these errors were encountered: