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

Missing CUDA availability check in ESM-1v example #688

Open
ebeurer opened this issue May 30, 2024 · 0 comments
Open

Missing CUDA availability check in ESM-1v example #688

ebeurer opened this issue May 30, 2024 · 0 comments

Comments

@ebeurer
Copy link

ebeurer commented May 30, 2024

In examples/variant-prediction/predict.py, there are some instances where CUDA is used without checking availability (and the nogpu argument), namely lines 142, 175, 194 and 212.

In line 155 those checks are performed before using CUDA, which leads me to believe the code is intended to also work when using only a CPU.

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

1 participant