容器挂载NPU后,通过ssh进入容器运行npu-smi info命令报错npu-smi: error while loading shared libraries: libc_sec.so
收藏回复举报
容器挂载NPU后,通过ssh进入容器运行npu-smi info命令报错npu-smi: error while loading shared libraries: libc_sec.so
t('forum.solved') 已解决
发表于2024-12-20 11:41:58
0 查看

操作步骤:

1、容器启动时将主机端口映射到容器22端口;

2、进入容器后,运行npu-smi info可以正常打印npu信息;

3、ssh配置文件设置PermitRootLogin yes和PasswordAuthentication yes;

4、通过ssh直接进入容器,运行npu-smi info命令出现报错

报错信息:

npu-smi: error while loading shared libraries: libc_sec.so: cannot open shared object file: No such file or directory

我要发帖子