Deployment with tensorflowlite_gpu_delegate on linux

113 views
Skip to first unread message

Dan Parnham

unread,
Apr 13, 2021, 10:16:32 AM4/13/21
to TensorFlow Lite
We have started deploying tflite with the GPU delegate to remote Ubuntu systems but have found that the delegate tries to dynamically load "libOpenCL.so" which is only available on machines with the "ocl-icd-opencl-dev" package installed. 

For deployment we tend to only install the runtime libraries, so in this case that would be "ocl-icd-libopencl1" which doesn't install a symlink from "libOpenCL.so" to "libOpenCL.so.1" and therefore the delegate complains that it is unable to load it and fails to initialise.

Should the delegate be attempting to load "libOpenCL.so.1" under linux instead? 
Reply all
Reply to author
Forward
0 new messages