Open Li-ZhiD opened 1 month ago
This line says that GPU was used.
GPU available: True (cuda), used: False
This likely means incompatibility of cell2location and scvi-tools. I recommend installing the GitHub version. The version uses 'accelerator' and 'device' arguments instead of 'use_gpu'.
That said, cell2location is going to take a very long time on CPU. If the data doesn't fit into the GPU memory, I recommend reading https://github.com/BayraktarLab/cell2location/issues/356 https://github.com/BayraktarLab/cell2location/issues/358 for tips on using large data.
I trained a mod by using scRNA-seq with CPU mode (about 1 day). An error occurred when I try "Cell2location: spatial mapping" with CPU mode.