您好,我现在要把模型转成Device端运行的也不行,请问:cpu docker如何进行bev模型转换?
log如下:
bev_release_package-1.6.29# python3 tools/compile_perf.py --config configs/bev/bev_mt_ipm.py --out-dir ./ --opt 3
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/horizon_plugin_pytorch/extension.py", line 35, in _register_extensions
torch.ops.load_library(ext_specs.origin)
File "/root/.local/lib/python3.8/site-packages/torch/_ops.py", line 110, in load_library
ctypes.CDLL(path)
File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libcuda.so.1: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/compile_perf.py", line 10, in
import horizon_plugin_pytorch as horizon
File "/usr/local/lib/python3.8/dist-packages/horizon_plugin_pytorch/__init__.py", line 8, in
from . import extension, jit, nn, quantization # noqa: F401
File "/usr/local/lib/python3.8/dist-packages/horizon_plugin_pytorch/extension.py", line 42, in
_register_extensions()
File "/usr/local/lib/python3.8/dist-packages/horizon_plugin_pytorch/extension.py", line 37, in _register_extensions
raise RuntimeError(
RuntimeError: Fail to load libhorizon_ops, origin msg is
libcuda.so.1: cannot open shared object file: No such file or directory