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

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

@ebeurer

Description

@ebeurer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions