Skip to content

Create Model on CPU #9

@FloCF

Description

@FloCF

Problem

It is currently impossible to create the model via madeleine.models.factory.create_model_from_pretrained without cuda availability due to the following line.
madeleine.models.factory import create_model_from_pretrained

Fix

If I don't miss anything, this should be fixable by simply adding an argument to the create_model_from_pretrained.

Keep up the fantastic work at Mahmood Lab!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions