Skip to content

linbinskn/context_parallel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ulysses/Ring/FastSeq Attention

This repo implements the Ulysses, Ring and FastSeq Attention.

Test

PYTHONPATH=. torchrun --nproc_per_node 8 test_attention/test_attention_ulysses.py
PYTHONPATH=. torchrun --nproc_per_node 8 test_attention/test_attention_ring_zigzag.py
PYTHONPATH=. torchrun --nproc_per_node 8 test_attention/test_attention_fastseq.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages