ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

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

Open GuangyaoZhang opened this issue 1 year ago • 0 comments

📌 Checklist before creating the PR

  • [x] I have created an issue for this PR for traceability
  • [x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
  • [x] I have added relevant tags if possible for us to better distinguish different PRs
  • [x] I have installed pre-commit: pip install pre-commit && pre-commit install

🚨 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

  • [x] I have linked my PR to an issue (instruction)
  • [x] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
  • [x] I have performed a self-review of my code
  • [x] I have added thorough tests.
  • [x] I have added docstrings for all the functions/methods I implemented

⭐️ Do you enjoy contributing to Colossal-AI?

  • [x] 🌝 Yes, I do.
  • [ ] 🌚 No, I don't.

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

GuangyaoZhang avatar Jun 25 '24 09:06 GuangyaoZhang