facebookresearch / nougat

Implementation of Nougat Neural Optical Understanding for Academic Documents
https://facebookresearch.github.io/nougat/
MIT License
8.81k stars 561 forks source link

Nougat API does not detect Intel UHD Graphics 620 GPU On Linux (pop-os) #117

Closed ChamkhiAnas closed 1 year ago

ChamkhiAnas commented 1 year ago

Upon attempting to use the Nougat API, the following error message is displayed:

WARNING:root:No GPU found. Conversion on CPU is very slow.

However, when listing the PCI devices on the system, the following output is displayed:

root@pop-os:~$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)

Therefore, the GPU is present on the system, but is not being detected by the Nougat API.

image

lukas-blecher commented 1 year ago

PyTorch only supports Nvidia GPUs and some AMD GPUs. That's why no GPU was found on your system