Make cuDNN v8 related build and runtime configurations explicit.
Also enable CUDA lazy loading, which is effective for CUDA 11.7+ and especially for 11.8+.
Change the structure of the Dockerfiles so that the USER is no longer specified inside the Dockerfile but at runtime by the Docker Compose file. This makes writing the Dockerfile much easier while preserving the same functionality.
Make cuDNN v8 related build and runtime configurations explicit. Also enable CUDA lazy loading, which is effective for CUDA 11.7+ and especially for 11.8+. Change the structure of the Dockerfiles so that the
USER
is no longer specified inside the Dockerfile but at runtime by the Docker Compose file. This makes writing the Dockerfile much easier while preserving the same functionality.