Skip to content

Potential redundant compute #19

@Connor323

Description

@Connor323

I wonder why do we need to initialize the cache for every block here? Can we reuse the past_key_values from the previous model inference except the first block loop? 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