I created a python based web app (using flask and gunicorn) that contains a pytorch based library which can detect if the machine has CUDA GPUs. I added this image to azure container registry then used an azure container instance with GPU capabilities to deploy it. However when checking the logs, it tells me that it was not able to detect GPUs. What am I doing wrong here?
The Dockerfile used to create the image doesn't specify anything related to GPUs. is that the main problem?
I created my application on windows(which does not have gpu capabilities) but have been using wsl2 with ubuntu linux kernel to build the image