Skip to content

Does cell2location support multi-gpu ? #426

@AtlasMaroc

Description

@AtlasMaroc

Please use the template below to post a question to https://discourse.scverse.org/c/ecosytem/cell2location/.

Problem

i have a large visium HD dataset, i am trying to train the model, however i run into CudaOutOfMemory issue, i tried adding trainer_kwargs argument from scvi tools, but i run into 'devices getting multiple argument' error

Description of the data input and hyperparameters

model_B408.train(max_epochs=30000,
batch_size=None,
train_size=1,
datasplitter_kwargs = {
"num_workers": 7,
"pin_memory": True, # optional (GPU)
"persistent_workers": True },
)

Single cell reference data: number of cells, number of cell types, number of genes

after filtering, 69k cells * 8588 genes

Single cell reference data: technology type (e.g. mix of 10X 3' and 5')

Spatial data: number of locations numbers, technology type (e.g. Visium, ISS, Nanostring WTA)

Visium HD, 678771 cells * 8588 genes
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions