Skip to content

[Feature]: Support Eagle Draft Model with different number of KV heads #22432

@MMuzzammil1

Description

@MMuzzammil1

🚀 The feature, motivation and pitch

The current EAGLE implementation raises NotImplementedError (

raise NotImplementedError
), because of different page_size_bytes calculation (
https://github.com/vllm-project/vllm/blob/main/vllm/v1/kv_cache_interface.py#L68 ) when using a draft model with different num_kv_heads compared to the target model.
However in practice, we can have draft models trained with different num_kv_heads than the target model. Would that be possible to implement this change? Or it would require a lot of architectural changes?

Alternatives

No response

Additional context

No response

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions