ColossalAI
                                
                                 ColossalAI copied to clipboard
                                
                                    ColossalAI copied to clipboard
                            
                            
                            
                        Fix installation errors and the example for limited resources
📌 Checklist before creating the PR
- [x] I have created an issue for this PR for traceability
- [ ] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
- [ ] I have added relevant tags if possible for us to better distinguish different PRs
🚨 Issue number
This should fix #4847 #2743 #3602 #3370 #2972
📝 What does this PR do?
- Improve installation documentation for apex which plays a role in Colossal-AI installation.
- Fix the gradient_accumulation error when using colossalai_gemini strategy in the limited resources.
💥 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.
- [ ] 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.