Skip to content

Uninitialize a torch network #45

@Shubhamcl

Description

@Shubhamcl

I have some code which loads a torch model using lutorpy, every initialization consumes GPU memory around 250-300mb. Is there a way to free this memory?

As I tried to dereference from this initialized model variable and run garbage collector in python, and that didn't help.

Thanks.

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