intelligent-machine-learning / glake

GLake: optimizing GPU memory management and IO transmission.
Apache License 2.0
351 stars 32 forks source link

use glake-torch-1.13.1 whl package error:OSError: libmkl_gnu_thread.so.1: cannot open shared object file: No such file or directory #21

Open 112sdfsdfsdfasf opened 6 months ago

112sdfsdfsdfasf commented 6 months ago

before pip install torch-1.13.0a0+git49444c3-cp38-cp38-linux_x86_64.whl root@worker-0:/workspace#python Python 3.8.13 packaged by conda-forge (default,Mar 25 2022,06:04:10) [GCC 10.3.0]on linux Type "help","copyright","credits"or "license"for more information.

import torch print(torch.version) 1.13.1+cu117

after pip install torch-1.13.0a0+git49444c3-cp38-cp38-linux_x86_64.whl root@worker-0:/workspace# python Python 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:10) [GCC 10.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import torch Traceback (most recent call last): File "", line 1, in File "/opt/conda/lib/python3.8/site-packages/torch/init.py", line 217, in _load_global_deps() File "/opt/conda/lib/python3.8/site-packages/torch/init.py", line 177, in _load_global_deps raise err File "/opt/conda/lib/python3.8/site-packages/torch/init.py", line 172, in _load_global_deps ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL) File "/opt/conda/lib/python3.8/ctypes/init.py", line 373, in init self._handle = _dlopen(self._name, mode) OSError: libmkl_gnu_thread.so.1: cannot open shared object file: No such file or directory

os: NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)"

ruizhang1230 commented 5 months ago

The glake-torch-1.13.1 whl package is built with cuda-11.6. Please try to run with cuda-11.6.