ocrd_all icon indicating copy to clipboard operation
ocrd_all copied to clipboard

calamari-recognize does not make use of gpu

Open jbarth-ubhd opened this issue 3 years ago • 4 comments

Tried with docker maximum-cuda.

jbarth-ubhd avatar Oct 06 '21 11:10 jbarth-ubhd

See https://github.com/OCR-D/ocrd_calamari/issues/68 for the discussion upstream.

kba avatar Oct 25 '21 11:10 kba

There's the wrong CUDA Toolkit version for the TF version in the image:

https://github.com/OCR-D/ocrd_calamari/issues/68#issuecomment-951998665

mikegerber avatar Oct 26 '21 14:10 mikegerber

→ https://github.com/OCR-D/ocrd_all/issues/263

mikegerber avatar Oct 26 '21 14:10 mikegerber

TensorFlow and CUDA, the endless joy:

(headless-tf2) root@29b1f018638e:/usr/local/sub-venv/headless-tf2# pip list | grep tensorflow
tensorflow               2.6.0

(headless-tf2) root@29b1f018638e:/usr/local/sub-venv/headless-tf2# find /usr/ -name "libcuda.so*"
/usr/local/cuda-10.0/compat/libcuda.so.1
/usr/local/cuda-10.0/compat/libcuda.so
/usr/local/cuda-10.0/compat/libcuda.so.410.129

So this is CUDA Toolkit 10.0 but PyPi's TensorFlow 2.6.0 requires CUDA Toolkit 11.1 or 11.2.1 (see https://github.com/mikegerber/test-nvidia README for the full list of compatible versions.)

mikegerber avatar Oct 26 '21 15:10 mikegerber

Should be fixed by #362 – please reopen if not.

bertsky avatar Jun 20 '23 21:06 bertsky