반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 오블완
- 스팸
- ChatGPT
- error
- TTS
- Android
- string
- GPT
- openAI
- Torch
- socketio
- CUDA
- 판교
- timm
- pytorch
- python
- ubuntu
- 맛집
- opencv
- ROS2
- linux
- 티스토리챌린지
- no space left on device
- 터미널
- ros
- CLASS
- 분당맛집
- humble
- 딥러닝
- tensorflow
Archives
- Today
- Total
RoBoLoG
[Python] kobert 패키지 오류: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks... 본문
Error Solution/Etc
[Python] kobert 패키지 오류: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
SKJun 2023. 2. 27. 16:49
Python 패키지인 kobert 사용시 아래와 같은 경고가 뜬다면
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
- Avoid using `tokenizers` before the fork if possible
- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
아래 코드를 소스코드에 넣어 해결 가능
import os
os.environ["TOKENIZERS_PARALLELISM"] = "false"
728x90
반응형