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
I now want to use lmdeploy to deploy internlm2-7b-reward.
I simply expanded the weight in v_head from [1, D] to [V, D].
If we can directly obtain the logits instead of logprobs , then we can deploy the reward model using lmdeploy easily.
Related resources
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Currently, you can use pipe.get_logits to obtain the logits with seq_len x vocab_size shape. It's not thread safe, I'm not sure if this meets your needs.
Motivation
I now want to use lmdeploy to deploy internlm2-7b-reward.
I simply expanded the weight in v_head from [1, D] to [V, D].
If we can directly obtain the logits instead of logprobs , then we can deploy the reward model using lmdeploy easily.
Related resources
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: