-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Bug Report
Describe the bug
I am encountering a fatal kernel crash when running the sample.ipynb notebook. The issue occurs specifically during the model initialization phase, on the line that calls model_wrapper.from_pretrained_plddt_model() with the simplefold_1.6B model selected.
The kernel dies with the Windows exit code 3221225477. Notably, this code block runs successfully without any errors when simplefold_model is set tosimplefold_100M.
To Reproduce
Steps to reproduce the behavior:
- Set up the conda environment as per the repository's instructions.
- Open the
sample.ipynbnotebook in VS Code. - Configure the model parameters in the notebook cell as follows:
simplefold_model = "simplefold_1.6B" ckpt_dir = "./artifacts" plddt = True # The crash occurs when this is True backend = "torch"
- Execute the cells in order.
- The kernel crashes when executing the following block of code, specifically on the
plddt_model = ...line:# initialize the folding model and pLDDT model model_wrapper = ModelWrapper( simplefold_model=simplefold_model, ckpt_dir=ckpt_dir, plddt=plddt, backend=backend, ) device = model_wrapper.device folding_model = model_wrapper.from_pretrained_folding_model() plddt_model = model_wrapper.from_pretrained_plddt_model() # <-- Crash happens here
Expected behavior
The plddt_model should be loaded successfully without the kernel process terminating.
Actual behavior
The Jupyter kernel process dies immediately. The VS Code Jupyter log shows the following error:
[error] Disposing session as kernel process died ExitCode: 3221225477, Reason:
System Environment (please complete the following information):
- OS: Windows 11
- Python Version: 3.10.18
- PyTorch Version:
pytorch-lightning 2.5.5
torch 2.8.0
torchaudio 2.8.0
torchmetrics 1.8.2
torchvision 0.23.0 - GPU: CPU-only
Any help or insight into what might be causing this memory access violation would be greatly appreciated. Thank you!