강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

산마로님의 프로필 이미지
산마로

작성한 질문수

구현하며 배우는 Transformer

Embedding 값 시각화 해보기

embedding 값 시각화 해보기에서

작성

·

12

0

안녕하세요..16강 임베딩 값 시각화 해보기에서 궁금한 것이 있습니다.

버트 토크나이저와 모델을 다운로드 받을 때 다음과 같은 오류가 났는데..
2026-01-12 20:46:39.930539: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1768250800.289278 47 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E0000 00:00:1768250800.409734 47 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'

오류는 나더라도 토크나이저와 모델은 다운로드 받은 것 같더라구요..

 

Embedding(30522, 768, padding_idx=0)
torch.Size([30522, 768])

가 출력으로 나왔으니..


별 문제가 없는 것인가요? AttributeError가 계속난 것이 신경이 쓰여서요.. 강사님이 실행한 영상에서는 나타나지 않는 오류여서.

확인 부탁드립니다.

 

답변 1

0

권 철민님의 프로필 이미지
권 철민
지식공유자

안녕하십니까,

해당 사항은 Kaggle 커널의 Library 버전 이슈로 발생할 수 있습니다. 실습 코드 수행시에는 아무 문제가 없으니, 정상적으로 실습 하시면 됩니다.

감사합니다.

산마로님의 프로필 이미지
산마로

작성한 질문수

질문하기