update
This commit is contained in:
@@ -34,8 +34,7 @@ def create_ring_flash_attention_forward(process_group: dist.ProcessGroup) -> Cal
|
|||||||
Create a ring flash attention forward function compatible with HuggingFace's interface.
|
Create a ring flash attention forward function compatible with HuggingFace's interface.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
process_group: A PyTorch distributed process group that defines the communication
|
process_group: A PyTorch distributed process group.
|
||||||
topology for the ring attention pattern.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
A function that implements the ring flash attention forward pass with the
|
A function that implements the ring flash attention forward pass with the
|
||||||
|
|||||||
Reference in New Issue
Block a user