Skip to content

KV Cache getting prefilled and emptied during training phase #92

Open
@adityavipradas

Description

@adityavipradas

Although the KV cache implementation for inference looks good, the block_kv_cache is getting prefilled in the training phase leading to increase in compute and memory consumption.

logits, _ = self.decoder(combined_embd, attention_mask=attention_mask) # Not logits yet, but easier to return like this

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