-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Description
Hello,
We started getting Fatal Python error: Segmentation fault
sometimes, see full traceback:
Thread 0x00007fdff95fd640 (most recent call first):
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 81 in _worker
File "/usr/lib/python3.10/threading.py", line 953 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Thread 0x00007fdffc3ff640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 320 in wait
File "/usr/lib/python3.10/queue.py", line 171 in get
File "/runner/_work/******/******/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 797 in run
File "/usr/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 973 in _bootstrap
Current thread 0x00007fe00332e1c0 (most recent call first):
Garbage-collecting
File "/runner/_work/******/******/.venv/lib/python3.10/site-packages/tiktoken/core.py", line 50 in __init__
File "/runner/_work/******/******/.venv/lib/python3.10/site-packages/tiktoken/registry.py", line 63 in get_encoding
File "/runner/_work/******/******/.venv/lib/python3.10/site-packages/tiktoken/model.py", line 75 in encoding_for_model
File "/runner/_work/******/******/******/services/******/******/clients/openai.py", line 22 in num_token_for_messages
File "/runner/_work/******/******/******/services/******/******/clients/openai.py", line 54 in ask_gpt
What could be the issue?
Python: 3.10.6
OS: ubuntu 22.04LTS
Metadata
Metadata
Assignees
Labels
No labels