from typing import List
import torch


def get_gpu_device_names() -> List[str]:
    """Get GPU device names as a list.

    Returns:
        names of available GPU devices.
    """
    gpu_device_names = []
    if torch.cuda.is_available():
        gpu_device_names = [
            "cuda:{index}" for index in range(torch.cuda.device_count())
        ]
    return gpu_device_names