Utils
- mosaic.utils.utils.cpu_count()[source]
Get the number of available cores in the node.
- Returns
Number of CPUs.
- Return type
int
- mosaic.utils.utils.gpu_count()[source]
Get the number of available GPUs in the node.
- Returns
Number of GPUs.
- Return type
int