본문 바로가기
728x90
반응형
SMALL

Linux23

ModuleNotFoundError: No module named 'sacrebleu' [Error] ModuleNotFoundError: No module named 'sacrebleu' [Solution] pip install sacrebleu 2023. 6. 28.
ModuleNotFoundError: No module named 'sklearn' [Error] ModuleNotFoundError: No module named 'sklearn' [Solution] conda install scikit-learn or pip install scikit-learn 2023. 6. 28.
Load Modules on Reboot cp /home/(user)/lib/(module_name).ko /lib/modules/$(uname -r)/kernel/drivers/ echo "(module_name)" >> /etc/modules depmod -a insmod /lib/modules/$(uname -r)/kernel/drivers/(module_name).ko Reboot 후에도 module를 로딩하기 위해 위와 같이 작업한다. 위의 괄호는 제외하고 입력해야한다. 2023. 6. 27.
Ubuntu18.04 Install Cuda, Cudnn 1. CUDA 설치 https://developer.nvidia.com/cuda-toolkit-archive CUDA Toolkit Archive Previous releases of the CUDA Toolkit, GPU Computing SDK, documentation and developer drivers can be found using the links below. Please select the release you want from the list below, and be sure to check www.nvidia.com/drivers for more recent production developer.nvidia.com 위 페이지에 들어가서 원하는 버전의 CUDA 선택한다. 필자는 11... 2023. 6. 27.
Reinstall missing kernel modules sudo apt-get install --reinstall linux-headers-$(uname -r) sudo apt-get update && sudo apt-get upgrade CUDA와 CUDNN 설치후 동작 테스트 할때, GPU device를 찾지 못한다는 에러가 나는 경우, 커널이 망가져있을 수 있다. 2023. 6. 27.
nvrtc: error: invalid value for --gpu-architecture (-arch) [error] nvrtc: error: invalid value for --gpu-architecture (-arch) [solution] 1. detectron2/detectron2/engine/train_loop.py line 491 : 주석처리 #with autocast(dtype=self.precision): 2. detectron2/detectron2/engine/train_loop.py line 435~ : False를 True로 변경 class AMPTrainer(SimpleTrainer): def __init__( ... ... zero_grad_before_foward = True ): 2023. 6. 27.
[pytorch] AttributeError: module 'distutils' has no attribute 'version' [Solution] pip install setuptools==59.5.0 2023. 6. 26.
Nvidia driver, Cuda remove #Nvidia remove sudo apt-get -y remove --purge '^nvidia-.*' #Cuda remove sudo apt-get -y --purge remove 'cuda*' sudo apt-get -y autoremove --purge 'cuda*' #folder remove sudo rm -rf /usr/local/cuda* 2023. 6. 22.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. [Error] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. google-auth 2.18.0 requires cachetools=2.0.0, which is not installed. google-auth 2.18.0 requires pyasn1-modules>=0.2.1, which is not installed. google-auth 2.18.0 requires rsa=3.1.4; python_version >= "3.6", which .. 2023. 6. 8.
728x90
반응형
LIST