Skip to content

[Bug]: Reward model usage #12791

@Django-Jiang

Description

@Django-Jiang

Your current environment

I am recently trying to use the new feature to serve reward model with vLLM, but I note that the sequential classifier type RM is not supported well (I am using 0.7.1),

I checked #8976 #10444 seems it is been resolved already, I am not sure if it is a bug or not

🐛 Describe the bug

for example (adapted from this )

from vllm import LLM

llm = LLM(model="Skywork/Skywork-Reward-Llama-3.1-8B-v0.2", task="reward")
(output,) = llm.encode("Hello, my name is")

data = output.outputs.data
print(f"Data: {data!r}")

And I got ValueError: Model architectures ['LlamaForSequenceClassification'] are not supported for now. Similarly, Gemma2ForSequenceClassification is not supported. I wonder if there will be support for these models

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions