You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bitsandbytes 0.41 has been installed and I am getting the Permission Denied error coming as seen below. However, the installation is in another place and i do not have sudo permissions to change the current place it is referenced to.
0 [gmenon@iris-180 ~](3191390 2N/4T/2(x2)CN)$ python3 -m bitsandbytesTraceback (most recent call last):
File "/opt/apps/resif/iris-rhel8/2020b/gpu/software/Python/3.8.6-GCCcore-10.2.0/lib/python3.8/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/apps/resif/iris-rhel8/2020b/gpu/software/Python/3.8.6-GCCcore-10.2.0/lib/python3.8/runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/opt/apps/resif/iris-rhel8/2020b/gpu/software/Python/3.8.6-GCCcore-10.2.0/lib/python3.8/runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/__init__.py", line 6, in <module>
from . import cuda_setup, utils, research
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/research/__init__.py", line 1, in <module>
from . import nn
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/research/nn/__init__.py", line 1, in <module>
from .modules import LinearFP8Mixed, LinearFP8Global
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/research/nn/modules.py", line 8, in <module>
from bitsandbytes.optim import GlobalOptimManager
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/optim/__init__.py", line 6, in <module>
from bitsandbytes.cextension import COMPILED_WITH_CUDA
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/cextension.py", line 13, in <module>
setup.run_cuda_setup()
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 120, in run_cuda_setup
binary_name, cudart_path, cc, cuda_version_string = evaluate_cuda_setup()
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 337, in evaluate_cuda_setup
cudart_path = determine_cuda_runtime_lib_path()
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 295, in determine_cuda_runtime_lib_path
cuda_runtime_libs.update(find_cuda_lib_in(value))
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 231, in find_cuda_lib_in
return get_cuda_runtime_lib_paths(
File "/home/users/gmenon/.local/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 217, in get_cuda_runtime_lib_paths
if (path / libname).is_file():
File "/opt/apps/resif/iris-rhel8/2020b/gpu/software/Python/3.8.6-GCCcore-10.2.0/lib/python3.8/pathlib.py", line 1423, inis_file
return S_ISREG(self.stat().st_mode)
File "/opt/apps/resif/iris-rhel8/2020b/gpu/software/Python/3.8.6-GCCcore-10.2.0/lib/python3.8/pathlib.py", line 1197, instat
return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: '/usr/share/lmod/lmod/init/ksh_funcs/libcudart.so'
I have used the cuda_installer.sh file to install cuda-12.0 in the /local path and have updated the .bashrc to reference this path
# .bashrc
#Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/local/cuda-12.0/targets/x86_64-linux/lib
export PATH=$PATH:/local/cuda-12.0/bin
Please help in resolving this. Scheduling is done through SLURM. The error shown above is coming inspite of any changes.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
bitsandbytes 0.41 has been installed and I am getting the Permission Denied error coming as seen below. However, the installation is in another place and i do not have sudo permissions to change the current place it is referenced to.
I have used the
cuda_installer.sh
file to install cuda-12.0 in the /local path and have updated the .bashrc to reference this path.bashrc file
Please help in resolving this. Scheduling is done through SLURM. The error shown above is coming inspite of any changes.
The text was updated successfully, but these errors were encountered: