This should fix #92, which appears to be caused by a mismatch between versions of CUDA (in the tensorflow -gpu image) and torch.
The Dockerfile is using a specific version of tensorflow (2.7.0 in this case) that contains an older version of CUDA, whereas torch is being installed without specifying a version – so it's installing the latest, which relies on a newer version of CUDA.
As a workaround for the currently-published snowzach/doods2:amd64-gpu image, you can downgrade torch in the image with something like:
This should fix #92, which appears to be caused by a mismatch between versions of CUDA (in the tensorflow -gpu image) and torch.
The Dockerfile is using a specific version of tensorflow (2.7.0 in this case) that contains an older version of CUDA, whereas torch is being installed without specifying a version – so it's installing the latest, which relies on a newer version of CUDA.
As a workaround for the currently-published
snowzach/doods2:amd64-gpu
image, you can downgrade torch in the image with something like:It might be a good idea to specify the torch version (in the Dockerfile) in the future, but I guess that's up to the project maintainer.