gpu_utils
Utilities to test GPU availability with torch.
is_gpu_available() #
Check if GPU is available with torch.
Returns:
| Type | Description |
|---|---|
bool | True if GPU is available, False otherwise. |
Utilities to test GPU availability with torch.
is_gpu_available() #Check if GPU is available with torch.
Returns:
| Type | Description |
|---|---|
bool | True if GPU is available, False otherwise. |
src/careamics_napari/utils/gpu_utils.py