Skip to content

[NFC]fix typo colossalai/auto_parallel nn utils etc.#3779

Merged
FrankLeeeee merged 3 commits intohpcaitech:mainfrom
digger-yu:patch1
May 23, 2023
Merged

[NFC]fix typo colossalai/auto_parallel nn utils etc.#3779
FrankLeeeee merged 3 commits intohpcaitech:mainfrom
digger-yu:patch1

Conversation

@digger-yu
Copy link
Copy Markdown
Contributor

@digger-yu digger-yu commented May 19, 2023

📌 Checklist before creating the PR

  • 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

Not involved

📝 What does this PR do?

fix typo colossalai/auto_parallel nn utils etc.
Detail info
modified: applications/Chat/coati/dataset/reward_dataset.py
modified: colossalai/auto_parallel/tensor_shard/node_handler/embedding_handler.py
modified: colossalai/auto_parallel/tensor_shard/node_handler/linear_handler.py
modified: colossalai/auto_parallel/tensor_shard/node_handler/matmul_handler.py
modified: colossalai/auto_parallel/tensor_shard/node_handler/node_handler.py
modified: colossalai/auto_parallel/tensor_shard/utils/factory.py
modified: colossalai/auto_parallel/tensor_shard/utils/reshape.py
modified: colossalai/nn/optimizer/cpu_adam.py
modified: colossalai/nn/optimizer/hybrid_adam.py
modified: colossalai/nn/parallel/layers/cache_embedding/cache_mgr.py
modified: colossalai/utils/common.py
modified: colossalai/utils/tensor_detector/readme.md
modified: colossalai/utils/tensor_detector/tensor_detector.py
modified: colossalai/zero/gemini/memory_tracer/memory_stats.py

💥 Checklist before requesting a review

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

⭐️ Do you enjoy contributing to Colossal-AI?

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

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

@github-actions
Copy link
Copy Markdown
Contributor

The code coverage for the changed files is 46%.

Click me to view the complete report
Name                                                                      Stmts   Miss  Cover
---------------------------------------------------------------------------------------------
colossalai/auto_parallel/tensor_shard/node_handler/embedding_handler.py      89     67    25%
colossalai/auto_parallel/tensor_shard/node_handler/linear_handler.py        117     94    20%
colossalai/auto_parallel/tensor_shard/node_handler/matmul_handler.py        266     12    95%
colossalai/auto_parallel/tensor_shard/node_handler/node_handler.py          164     82    50%
colossalai/auto_parallel/tensor_shard/utils/factory.py                      123    107    13%
colossalai/auto_parallel/tensor_shard/utils/reshape.py                       86     76    12%
colossalai/nn/optimizer/cpu_adam.py                                          63      6    90%
colossalai/nn/optimizer/hybrid_adam.py                                       61      3    95%
colossalai/nn/parallel/layers/cache_embedding/cache_mgr.py                  294    256    13%
colossalai/utils/common.py                                                  291    228    22%
colossalai/utils/tensor_detector/tensor_detector.py                         118    102    14%
colossalai/zero/gemini/chunk/manager.py                                     131     16    88%
colossalai/zero/gemini/chunk/search_utils.py                                 89      1    99%
colossalai/zero/gemini/memory_tracer/memory_stats.py                         74     12    84%
---------------------------------------------------------------------------------------------
TOTAL                                                                      1966   1062    46%

@FrankLeeeee FrankLeeeee merged commit 9265f2d into hpcaitech:main May 23, 2023
@digger-yu digger-yu deleted the patch1 branch May 23, 2023 07:48
FrankLeeeee pushed a commit that referenced this pull request May 24, 2023
* fix typo colossalai/autochunk auto_parallel amp

* fix typo colossalai/auto_parallel nn utils etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants