Skip to content

[feature] help us implement unified attention #12570

@sayakpaul

Description

@sayakpaul

Currently, we support ring and ulysses attention backends for context parallelism. More info: https://huggingface.co/docs/diffusers/main/en/api/parallel

Unified CP is a generalization of performing Ulysses and Ring together. Both those methods become special subcases of Unified attention. Paper: https://arxiv.org/abs/2405.07719v3

Before proceeding with a PR, please use this thread to discuss your proposal and we can take it from there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions