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

boltz predict should fail (return nonzero) when it runs out of memory #167

Open
timodonnell opened this issue Jan 28, 2025 · 2 comments
Open

Comments

@timodonnell
Copy link

It would be helpful if boltz predict would return a nonzero status when it fails with errors like:

LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
Predicting DataLoader 0:   0%|          | 0/1 [00:00<?, ?it/s]| WARNING: ran out of memory, skipping batch
Predicting DataLoader 0: 100%|██████████| 1/1 [07:08<00:00,  0.00it/s]Number of failed examples: 1
Predicting DataLoader 0: 100%|██████████| 1/1 [07:08<00:00,  0.00it/s]

as it stands now the command succeeds but it gives no predicted structures.

The nonzero status would be useful so errors get propagated upward in scripts and wrappers.

@gcorso
Copy link
Collaborator

gcorso commented Jan 29, 2025

That makes sense, what would you think the behavior should be in the case of a multi-complex prediction run in which some but not all the complexes fail?

@timodonnell
Copy link
Author

My vote would be that the command should fail if any predictions fail, even if others succeed.

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