Skip to content

Add scalling factor to ring attention #2588

@Sirorezka

Description

@Sirorezka

Hi, I want to pass softmax_scale factor to ring-attention (to use with cp), but it is currently not added in the patched _ring_compute_attention and not proprely patched in ring_fa3_varlen_func.

Desirrable behvaiour:
_ring_compute_attention should accept softmax_scale attribute
ring_fa3_varlen_func should accept softmax_scale attribute as well.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions