Skip to content

is this "m" forgotten? #49

@yangyangyyy123

Description

@yangyangyyy123

m = model.to(device)

the model is moved to GPU device and stored into a new var m, but then later on inference and optimization still operate on model, which I suppose still sits in CPU??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions