Closed spigelli closed 3 years ago
Got it working with this Dockerfile which is dependent on yet another fork so that I can merge #252 and hardcode the models directory. Cuda can't be inherited via nvidia-docker2 runtime environment so this image is based on nvidia/cuda:11.1-devel-ubuntu18.04. Couldn't do ubuntu20.04 since I guess waifu2x-converter-cpp breaks with lib-opencv4.2 even though the docs specify 3.1+
Is
opencl
within the docker container configured for intel gpu's / cpus only? I addedocl-icd-opencl-dev
to be installed when building the image and installed it on the host but no luck getting it to use the gpu. Maybeopencl
would requirecuda
in the container as well? Should be able to work with normal drivers though right?Here's
nvidia-smi
from inside the container:And on the host:
And the error:
The Dockerfile was added in #256 for ref