반응형
ComfyUI에서 모델을 이것저것 쓰다보면 transformers 버전이 오락가락할 일이 생각보다 많은데 (모델마다 다른 버전을 쓰는 경우가 많아서) 아래와 같은 오류가 자주 보인다.
Config object has no attribute "get_text_config"
transformers 내에서 나는 오류기 때문에 고칠 방법은 버전을 제대로 맞추는 것 밖에 없다.
해결법
pip install transformers==4.46.0
4.46.0이 답이다.
반응형
'Trouble > Others' 카테고리의 다른 글
conda 먹통문제. Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory) (0) | 2024.09.04 |
---|---|
ONNX 모델 GPU inference 안 될 때, onnxruntime-gpu 에러 날 때 (0) | 2024.08.07 |
Meshlab Ubuntu 22.04 에서 사용 안될 때 (0) | 2024.07.24 |
tinycudann 설치 시 No CUDA runtime is found 문제 (0) | 2024.05.07 |
Golang vscode 이용 시 failed to save 문제 (0) | 2022.06.23 |