Skip to content

Better Cross Attention Support For Graphcore IPUs #1830

@brucethemoose

Description

@brucethemoose

Hello. In Graphcore's Stable Diffusion demo, it seems they replace your cross attention implementation with their own, to work around some issues:

https://github.com/gradient-ai/Graphcore-HuggingFace/blob/main/stable-diffusion/ipu_models.py#L35-L93

I modified their demo to pull the latest diffusers release and skip the override, and it seems that the issue is still present, as I elaborated on here:

invoke-ai/InvokeAI#2120 (comment)

I was told (in the above issue) that their cross attention override makes Graphcore IPU compatibility in InvokeAI messy, that your cross attention API isn't released yet, and that this may be useful feedback?

I'm a humble end user in way over my head, so let me know if I am way off base here :P

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions