Not setting compute_device_type to None when setting to CUDA fails