How to debug the ColossalAI script in PyCharm #1055
Unanswered
songyuc
asked this question in
Community | Q&A
Replies: 1 comment 10 replies
-
If you want to debug your model, I suggest you use single gpu mode, then you can use "python XXX.py" to run your program. If you have to debug program with multiple devices, you can use debugpy in vscode, or something have same effect in pycharm. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, guys,
I am a learner of ColossalAI, and I find the ColossalAI script needs to run under the "colossalai run" program as:
# with engine colossalai run --nproc_per_node 1 train.py
So, how can I debug it in PyCharm, which require a python interpreter to run a script.
Your answer and guide will be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions