hpcaitech / ColossalAI

Making large AI models cheaper, faster and more accessible
https://www.colossalai.org
Apache License 2.0
38.68k stars 4.34k forks source link

[ShardFormer] Add Ulysses Sequence Parallelism support for Command-R, Qwen2 and ChatGLM #5854

Closed GuangyaoZhang closed 2 months ago

GuangyaoZhang commented 3 months ago

📌 Checklist before creating the PR

🚨 Issue number

resolved #5853

📝 What does this PR do?

Add Ulysses Sequence Parallelism support for Command-R, Qwen2 and ChatGLM

💥 Checklist before requesting a review

⭐️ Do you enjoy contributing to Colossal-AI?

Tell us more if you don't enjoy contributing to Colossal-AI.