Open zxshi0102 opened 4 days ago
Hi @zxshi0102, the error suggests you are using Slurm to launch a script or an interactive session to run this code, and that you specify --ntasks
instead of --ntasks-per-node
in the Slurm script. Can you check in your Slurm script for these variables?
To isolate the issue, could you try importing and initialising ProtT5
from abodybuilder3/language/model.py
?
Thank you for your prompt response! I am indeed using an interactive session via jupyter notebook, the error shows only when trying to compute the embeddings, when running the prediction with the full model the command works, and I am able to produce the PDB outputs.
I have tried to import and initialize the model as suggested with
sys.path.append("/home/zshi/package_download/abodybuilder3")
from abodybuilder3.language.model import ProtT5
Unfortunately, the same error shows up。Thanks! and let me know if there is something else, I should try, otherwise I will default to using the full model.
Hi there, I am trying to create the embedding layer for my antibody sequence with ABodyBuilder3-LM
After running this code, it shows the error:
And i tried to change all the
ntasks
tontasks-per-node
inabodybuilder3/.venv/lib/python3.9/site-packages/lightning/fabric/plugins/environments/slurm.py
, it would make the package cannot be imported at the beginning. But I cannot find the other ways to fix it, could you give me some hints to fix it? Thanks!