oneflow.cuda.is_available

oneflow.cuda.is_available()bool

Returns a bool indicating if CUDA is currently available.