Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

AttributeError: module 'deepspeed' has no attribute 'comm' #652

Open
YvetteJxy opened this issue Jan 20, 2024 · 3 comments
Open

AttributeError: module 'deepspeed' has no attribute 'comm' #652

YvetteJxy opened this issue Jan 20, 2024 · 3 comments

Comments

@YvetteJxy
Copy link

YvetteJxy commented Jan 20, 2024

When I run the example given in readme:

model = esm.pretrained.esmfold_v1()
model = model.eval().cuda()
model.set_chunk_size(128)
sequence = "MKTVRQERLKSIVRILERSKEPVSGAQLAEELSVSRQVIVQDIAYLRSLGYNIVATPRGYVLAGG"
with torch.no_grad():
output = model.infer_pdb(sequence)

I have encountered an error : module 'deepspeed' has no attribute 'comm'. And this error originated from 'output = model.infer_pdb(sequence)' .

I am very confused why this problem happens and do not know what to do.

@awer-A
Copy link

awer-A commented Feb 21, 2024

Please tell me if you solved this error

@YvetteJxy
Copy link
Author

@awer-A Maybe you can try to update the deepspeed version to 0.7.0. and I hope it will work.
If you have any other questions, please let me know.

@awer-A
Copy link

awer-A commented Feb 22, 2024

@YvetteJxy Thank you very much for your reply. Now it can run successfully,But the pLDDT result I obtained is 49.75926877470356. Do you know what could be the reason?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants