Skip to content

Example how to use with Python app #27

@qdrddr

Description

@qdrddr

Would you be so kind as to provide an example of using this implementation of MetalFlashAttention compiled as a library as a replacement for the original flash_attn with Python code running a model such as https://huggingface.co/microsoft/Phi-4-multimodal-instruct?

And thanks for your article!
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions