Skip to content

Whether DSA of prefill stage use MQA mode or MHA mode?Β #31

@oliverYoung2001

Description

@oliverYoung2001

The code of inference demo (https://github.com/deepseek-ai/DeepSeek-V3.2-Exp/blob/main/inference/model.py#L563) shows that DSA of prefill stage uses MHA mode. However, in the technique report, the author claims that DSA is instantiated based on MQA mode. And in FlashMLA repo, the DSA for prefill stage only supports MQA mode. Is it a bug in the inference demo?

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