We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 589780c + 5739572 commit e1268a6Copy full SHA for e1268a6
src/functor.jl
@@ -183,6 +183,10 @@ function check_use_cuda()
183
if use_cuda[] && !CUDA.has_cudnn()
184
@warn "CUDA.jl found cuda, but did not find libcudnn. Some functionality will not be available."
185
end
186
+ if !(use_cuda[])
187
+ @info """The GPU function is being called but the GPU is not accessible.
188
+ Defaulting back to the CPU. (No action is required if you want to run on the CPU).""" maxlog=1
189
+ end
190
191
192
Zygote.@nograd check_use_cuda
0 commit comments