You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
"ERR could not load backend" when using the Docker image redislabs/redisai:latest-gpu-x64-xenial, and trying to load a TF model.
The image redislabs/redisai:1.0.3-gpu-x64-xenial has this issue too.
It seems to be specific to these images, as neither redislabs/redisai:latest-cpu-x64-xenial (Xenial CPU) nor redislabs/redisai:latest-gpu-x64-bionic (Bionic GPU) have this issue.
To Reproduce
Steps to reproduce the behavior:
Download minimal RedisAI multiplication example TF model : graph.pb
docker run -d --rm --gpus all --name redisai -p 6379:6379 redislabs/redisai:latest-gpu-x64-xenial
cat graph.pb | redis-cli -x AI.MODELSET mymodel TF CPU INPUTS a b OUTPUTS c BLOB (error) ERR Could not load backend
docker logs redisai
1:C 07 May 2021 00:20:44.039 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 07 May 2021 00:20:44.039 # Redis version=6.0.5, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 07 May 2021 00:20:44.039 # Configuration loaded
1:M 07 May 2021 00:20:44.040 * Running mode=standalone, port=6379.
1:M 07 May 2021 00:20:44.040 # Server initialized
1:M 07 May 2021 00:20:44.040 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 07 May 2021 00:20:44.040 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
1:M 07 May 2021 00:20:44.040 * <ai> Redis version found by RedisAI: 6.0.5 - oss
1:M 07 May 2021 00:20:44.040 * <ai> RedisAI version 10003, git_sha=7f808a934dff121e188cb76fdfcc3eb1f9ec7cbf
1:M 07 May 2021 00:20:44.041 * Module 'ai' loaded from /usr/lib/redis/modules/redisai.so
1:M 07 May 2021 00:20:44.041 * Ready to accept connections
1:M 07 May 2021 00:20:49.613 # <ai> backend TF not loaded, will try loading default backend
1:M 07 May 2021 00:20:49.619 # <ai> Could not load TF backend from /usr/lib/redis/modules/backends/redisai_tensorflow/redisai_tensorflow.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /usr/lib/redis/modules/backends/redisai_tensorflow/lib/libtensorflow.so.1)
@d00astro Thanks for reporting this. At first glance it looks like it could be the result of a dependency. Running strings against the shared object, I get the list below (note the lack of 2.2.27). I checked our shared objects, and we're similarly missing this version of glibc.
Describe the bug
"ERR could not load backend" when using the Docker image
redislabs/redisai:latest-gpu-x64-xenial
, and trying to load a TF model.The image
redislabs/redisai:1.0.3-gpu-x64-xenial
has this issue too.It seems to be specific to these images, as neither
redislabs/redisai:latest-cpu-x64-xenial
(Xenial CPU) norredislabs/redisai:latest-gpu-x64-bionic
(Bionic GPU) have this issue.To Reproduce
Steps to reproduce the behavior:
docker run -d --rm --gpus all --name redisai -p 6379:6379 redislabs/redisai:latest-gpu-x64-xenial
cat graph.pb | redis-cli -x AI.MODELSET mymodel TF CPU INPUTS a b OUTPUTS c BLOB
(error) ERR Could not load backend
docker logs redisai
Expected behavior
Response
OK
, and:Screenshots
N/A
Environment (please complete the following information):
Additional context
Not critical for me as I can use Bionic just as well
The text was updated successfully, but these errors were encountered: