Skip to content
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

No module named 'hjson' #65

Open
Ishihara-Masabumi opened this issue Nov 8, 2023 · 2 comments
Open

No module named 'hjson' #65

Ishihara-Masabumi opened this issue Nov 8, 2023 · 2 comments

Comments

@Ishihara-Masabumi
Copy link

When I run the google colab DisCo_Demo.ipynb, the following error occurred.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-24-7aa731641df4>](https://localhost:8080/#) in <cell line: 6>()
      4 
      5 from utils.wutils_ldm import *
----> 6 from agent import Agent_LDM, WarmupLinearLR, WarmupLinearConstantLR
      7 import torch
      8 from config import BasicArgs

8 frames
[/usr/local/lib/python3.10/dist-packages/deepspeed/runtime/config.py](https://localhost:8080/#) in <module>
      9 import torch
     10 import json
---> 11 import hjson
     12 import copy
     13 import base64

ModuleNotFoundError: No module named 'hjson'

Despite the fact that hjson has already installed.
Please tell me how to fix it.

@Wangt-CN
Copy link
Owner

Wangt-CN commented Dec 4, 2023

Could you provide the detailed version of HJSON? Btw, it seems that the error is due to deepspeed. Could you pls also check if DeepSpeed is correctly installed and the version is the same as the repo?

@Ishihara-Masabumi
Copy link
Author

Thank you for your reply.
The answers of your questions are as follows:

hjson==3.1.0
deepspeed==0.8.2

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

No branches or pull requests

2 participants