[CUDA ERROR] BitsAndBytes
·
Troubleshooting
🐹에러 발생프로젝트 중 아래와 같은 에러가 발생했다.BitsAndBytes 라이브러리가 CUDA 환경을 올바르게 설정하지 못한 경우 발생하는 에러이다./usr/local/lib/python3.10/dist-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: '/usr/local/lib/python3.10/dist-packages/torchvision/image.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev'If you don't plan on using image functionality from `torchvision.io`, you can ign..
[llama-deploy] Error: 'ModelWrapper' object has no attribute 'tasks’
·
Troubleshooting
🐹llama-deploy란?LlamaIndex 기반 애플리케이션의 배포를 간소화하는 도구deployment.yml 파일이 애플리케이션의 배포 설정을 정의하는 데 사용된다.  사용중 아래 에러가 발생했다.Error: 'ModelWrapper' object has no attribute 'tasks’ModelWrapper는 Llama Deploy가 내부적으로 사용하는 객체이다. 아래를 참고하여 버전 fix로 해결했다.https://github.com/run-llama/llama_deploy/blob/main/examples/quick_start/README.md llama_deploy/examples/quick_start/README.md at main · run-llama/llama_deployDeplo..
vscode Unable to write file (NoPermissions(FileSystemError)
·
Troubleshooting
vs코드로 ssh접근하여 작업중 아래 에러를 만났다.  이는 파일 쓰기 권한 부족 (EACCES: permission denied) 문제로  파일을 수정하려고 했지만, 현재 사용자가 해당 파일을 저장할 권한이 없기 때문에 발생한다. 아래 명령어로 권한을 주면 해결된다. sudo chown -R 사용자이름 *
[Troubleshooting] RuntimeError: CUDA Setup failed despite GPU being available
·
Troubleshooting
다음과 같은 에러가 발생했다. raise RuntimeError(RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback): CUDA Setup failed despite GPU being available. Please run the following command to get more information: python -m bitsandbytes Inspect the output of the command and see if you can locate CUDA libraries. You might need to add ..
[ERROR] SyntaxError: Non-UTF-8 code
·
Troubleshooting
🤔 ERROR python 스크립트 실행중 아래 에러가 발생했다.SyntaxError: Non-UTF-8 code starting with '\xec' in file...  Python이 실행하려는 코드 파일에 UTF-8 인코딩이 아닌 다른 인코딩(예: EUC-KR, CP949 등)이 포함되어 있어서 발생하는 문제이다.Python은 기본적으로 소스 코드 파일이 UTF-8로 인코딩되어 있다고 가정하기 때문에, UTF-8이 아닌 문자(한글 등!)가 포함되어 있으면 SyntaxError가 발생한다.   🙂 해결방법코드의 상단에 아래를 추가하면된다.# -*- coding: utf-8 -*-이 코드는 Python에게 파일이 UTF-8로 인코딩되었음을 알려준다!  vs코드를 사용하는 경우, 오른쪽 하단에서 인코..
노트북 파일 모듈 함수 변경 반영
·
Troubleshooting
모듈에서 에러가 발생해 수정하였는데, 변경 이전과 동일한 에러가 발생했다.  주피터 노트북에서 모듈은 한번 불려오면 다시 불러오지 않는다.불러온 이후에 수정사항이 발생해도, 불려온 시점의 모듈을 기준으로 코드를 실행한다.  따라서 모듈을 수정하면 커널을 재시작해주어야한다.
✿(๑❛ڡ❛๑)✿
'Troubleshooting' 카테고리의 글 목록