在试图从一个打包了
streamlit
和
tensorflow
模型的镜像中运行docker容器时,得到了这个错误,该镜像是在mac上构建的(没有GPU)。
有什么办法可以避免这种情况吗?这是一个非常轻量级的演示应用程序,不需要GPU。替换代码0】的应用在没有docker的情况下也能正常运行。
Docker运行命令。【替换代码3
Error:
2021-09-07 03:50:47.745622: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-09-07 03:50:47.745696: E tensorflow/stream_executor/cuda/cuda_driver.cc:313] failed call to cuInit: UNKNOWN ERROR (303)
2021-09-07 03:50:47.745737: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (4dd4cd9e71e5): /proc/driver/nvidia/version does not exist