-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: No module named 'chatgpt.nn' #2810
Comments
Please follow what's instructed in this file (most importantly, |
got the same error, and i already pip install . under the chatgpt folder. I can import chatgpt from python environment, the error comes out with the torchrun command |
chatgpt.nn is in this path "ColossalAI/applications/ChatGPT/chatgpt/nn", put trian_XX.py with the folder chatgpt, in the same path. |
You did not successfully install pytorch,please test it with the following code: |
thanks moving file to chatgpt/nn didn't work, the error became no module named transformers while it's been installed. and torch.cuda.is_available()) is True |
We have updated a lot. |
🐛 Describe the bug
Hi,
I can not run demo of ColossalAI.
The following is the output.
/ColossalAI/dev_test/benchmark_gpt_dummy.py", line 1, in
from chatgpt.nn import GPTActor, GPTCritic, RewardModel
ModuleNotFoundError: No module named 'chatgpt.nn'
Environment
No response
The text was updated successfully, but these errors were encountered: