What do I have to do to use GPU acceleration in a ...
# prefect-server
m
What do I have to do to use GPU acceleration in a prefect flow? I'm using a DaskExecutor with cluster_class='dask_cuda.LocalCUDACluster' but I'm still getting "No cuda image available."
k
Hi @Mikkel Antonsen, what base image are you using for the cluster workers?
m
Uhm not sure. I'm using a local agent? How do I specify cluster workers?
k
Oh my bad, just noticed it was LocalCUDACluster. Do you have cuda installed then?
m
Yeah
I can run the same function on bare metal with no probs
ooooooh wait a second
The issue was indeed that the prefect environment had cuda 10 and not 11. Thanks for your help:)
k
Glad you figured that out!