Skip to content

How to do speculative sampling with vllm? #1042

Closed as not planned
Closed as not planned
@lsy643

Description

@lsy643

When I want to use speculative sampling in the vllm, in the generation step, the number of input tokens of each sequence is larger than one, and then error "an illegal memory access was encountered" is reported.

Can you guys suggest a way to support speculative sampling with vllm?

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions