SAW software now supports utilizing GPU resources for running analysis.
The tissue & cell segmentation step in the SAW count and SAW realign pipelines
The proteome & transcriptome joint analysis in the SAW reanalyze pipeline for Stereo-CITE FF sample
are time-consuming process.
If the GPU is enabled for calculations, the task's running time will be greatly shortened.
Here we take the NVIDIA graphics card as an example to explain how to call GPU to start SAW count run.
Driver installation
SAW pipelines are run on Linux for analysis. After your Linux server is connected to one or more NVIDIA graphics cards, ensure that the appropriate driver has been installed. If not, follow the NVIDIA CUDA Installation Guide for Linux to install CUDA.
Check GPU resources
After installing CUDA, check GPU resources in your environment as:
Please confirm CUDA Version >= 11.7
Please confirm that there is a device memory remaining > 3 GiB and GPU utilization < 100%.
In the first table NVIDIA-SMI, you can intuitively find that there are 4 GPU graphics cards and the serial number of each one, its corresponding fan speed, card name, and performance status. The remaining detailed parameters involve GPU usage, video memory usage, etc., which will not be introduced in detail here.
The second table, Processes, displays the video memory usage, process number, and GPU occupied by each process.
Start with GPU
--gpu-id is configured to detect a GPU graphics card. Based on the GPU resource distribution in your cluster environment, choose an appropriate serial number for --gpu-id. If no one is detected, SAW count will not start the run, instead of using the CPU.