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

ModuleNotFoundError: No module named 'deepspeed' #59

Open
Ishihara-Masabumi opened this issue Oct 24, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'deepspeed' #59

Ishihara-Masabumi opened this issue Oct 24, 2023 · 0 comments

Comments

@Ishihara-Masabumi
Copy link

A part of my environment for DisCo_Demo.ipynb is as follows:

!pip list
...
...

deepspeed                        0.8.2
...
...

But the following error occurred.

[2023-10-24 06:36:41 <wutils_ldm.py:150> <module>] <utils.py>: Deep Learning Utils @ Chenfei Wu
failed to load wandb
2023-10-24 06:36:43,418.418 2075:common.py:1785 setup_yaml(): python 3 env
failed to load wandb
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-9-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

[/content/DisCo/agent.py](https://localhost:8080/#) in <module>
      7 from utils.misc import humanbytes
      8 from utils.deepspeed import get_deepspeed_config, fp32_to_fp16
----> 9 import deepspeed
     10 from torch import nn
     11 import torch.nn.functional as F

ModuleNotFoundError: No module named 'deepspeed'

Please let me know how to fix it.

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

1 participant