반응형
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 | 31 |
Tags
- ROS2
- humble
- timm
- 맛집
- no space left on device
- opencv
- tensorflow
- python
- TTS
- 딥러닝
- ChatGPT
- GPT
- CLASS
- CUDA
- 터미널
- ubuntu
- Torch
- Android
- socketio
- string
- linux
- pytorch
- 분당맛집
- ros
- openAI
- 티스토리챌린지
- 오블완
- 스팸
- error
- 판교
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
반응형