728x90
참고 : https://github.com/huggingface/transformers/issues/27397 SafetensorError: Error while deserializing header: InvalidHeaderDeserialization when open .safetensor model · Issue #27397 · h System Info Hi guys, i just fine tune alpaca (LLaMA 7B base model) with custom dataset and using trainer API. After completing the training process, I received the following error: SafetensorError ... github.c..
매번 환경 설정할 때 마다 너무 힘들다... 나를 위한 메모... 1. GPU 정보 보기 nvidia-smi - GPU : NVIDIA GeForce RTX 3090 - Driver Version : 530.30.02 - CUDA Version: 12.1 CUDA Version은 사용중인 드라이버에 추천 되는 CUDA의 버전. 2. 드라이버에 맞는 CUDA 버전 확인 이 사이트에서 확인 할 수 있다. 내가 사용하는 서버는 Linux 니까 CUDA 12.1 아래로 사용하면 되는 듯. `nvidia-smi` 에서 추천한 것도 12.1 버전이었다. 3. GPU에 맞는 CUDA 버전 확인 이 사이트에서 확인할 수 있다. `ctrl + F` 로 찾아보니 이 GPU에 호환되는 Compute capability = ..
CUDA 까는 거 따라하다가 이상한 설정 해버려서 conda 명령어가 하나도 안들었음... 해결법 C:\Users\pc 경로로 가서 .condarc 파일을 연다 defaults 만 빼고 지워준다. 가상환경 문제인 줄 알고 다 지웠는데 너무 화난다 😂😂😂😂.... 참고 : https://stackoverflow.com/questions/56084960/condavalueerror-malformed-version-string-invalid-characters CondaValueError: Malformed version string '~': invalid character(s) I'm getting a Malformed version string error with my conda. I have no ide..
import os os.environ['KMP_DUPLICATE_LIB_OK']='True' 참고 https://jaeniworld.tistory.com/8 [딥러닝]OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized 딥러닝 모델중 CIFAR10을 사용하고 그 중 하나의 이미지 테스트 셋을 pyplot으로 시각화 할때 뜬 에러였다. 해당 코드만 돌리면 dead kernel이 뜨고 jupyter notebook이 자동으로 이를 재시작하는데 그래도 jaeniworld.tistory.com
import torch def format_pytorch_version(version): return version.split(‘+’)[0] TORCH_version = torch.__version__ TORCH = format_pytorch_version(TORCH_version) def format_cuda_version(version): return ‘cu’ + version.replace(‘.’, ‘’) CUDA_version = torch.version.cuda CUDA = format_cuda_version(CUDA_version) !pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-{TORCH}+{CUDA}.html !..
[참고링크] https://stackoverflow.com/questions/74189581/axesstack-object-is-not-callable-while-using-networkx-to-plot '_AxesStack' object is not callable while using networkx to plot Following one of online tutorials I found it difficult to run even a small piece of paragraph. Here is what I want to write into the graph: a Directed acyclic unweighted matrix into the graph, howe... stackoverflow.com ..