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

[Feature] Enable PP + SP for llama #5868

Closed Edenzzzz closed 2 months ago

Edenzzzz commented 3 months ago

📌 Checklist before creating the PR

🚨 Issue number

PP + SP was mistakenly disabled. Fixes #5866

📝 What does this PR do?

  1. Enable PP + SP for Llama
  2. Remove redundant cross entropy logic.

💥 Checklist before requesting a review

⭐️ Do you enjoy contributing to Colossal-AI?

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