Skip to content

[Question] --max-length parameter actually determine when training a draft model #289

@xinjiahui

Description

@xinjiahui

What does the --max-length parameter actually determine when training a draft model? If I set --max-length 2048, does it mean that the maximum context length for the draft model (including during speculative decoding/acceleration) is always 2048 tokens? In other words, even if the target model supports longer sequences, the draft model’s context window for acceleration will still be capped at 2048? I want to confirm whether this understanding is correct. Thanks

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