Skip to content

Resolvi.load overflows memory #3674

@jairaj-mathur

Description

@jairaj-mathur

When I load a saved model via RESOLVI.load, the memory consumption to just load the model is higher than while the model was being trained. I am using a 256gb ram and 22 GB GPU. While loading, the model, the GPU only uses about 200 MB VRAM while the RAM overshoots the 256 GB limit. During training, model used about 180 GB RAM and 2-5 GB VRAM.

Xenium dataset, 200k cells 5k genes

RESOLVI.load(/path/to/model, data, accelerator='gpu')
The python process exited with exit code 137 (SIGKILLED: Killed). This may have been caused by an OOM error. Check your commands memory usage.

Versions:

1.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions