You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
最近学习 LMDeploy-v0.5.1 的代码时有一个疑问,由于 LlamaBatch::InternalThreadEntry 中 FT_CHECK(step_length_ == 1); 限制了 LlamaBatch::Forward 方法中的 iter 一定为 0,那么下面的代码
只能够进入
if (iter == 0)
的分支,h_input_length_buf_[i] = 1;
这句是执行不到的,想请问下,是否在其他地方将 decode 阶段的请求的 h_input_length_buf_[i] 置为了 1?Beta Was this translation helpful? Give feedback.
All reactions