alphacep / alphacep/vosk-api

GPU python segmentation fault

Open
#1,677 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

I try to use docker and real computer for ASR on GPU (GeForce 2060) and always get segmentation failed:

In python:
```
Fatal Python error: Segmentation fault

Thread 0x00007f8761fcc000 (most recent call first):
File "/usr/lib/python3.10/selectors.py", line 469 in select
File "/usr/lib/python3.10/asyncio/base_events.py", line 1871 in _run_once
File "/usr/lib/python3.10/asyncio/base_events.py", line 603 in run_forever
File "/usr/lib/python3.10/asyncio/base_events.py", line 636 in run_until_complete
File "/usr/lib/python3.10/asyncio/runners.py", line 44 in run
File "/opt/vosk-server/websocket-gpu-batch/asr_server_gpu.py", line 98 in

Extension modules: _cffi_backend, websockets.speedups (total: 2)
Segmentation fault (core dumped)
```

and in dmesg:
```
segfault at 55e58e9f73cc ip 00007fee7b9cf716 sp 00007fee11ffe7f0 error 4 in libvosk.so[7fee7b888000+160d000]
[ 9023.315721] Code: ff 74 05 e8 ec 5d ea ff 48 8b 05 35 b0 a4 03 48 8b 1c 24 4d 89 e8 31 c9 4c 89 e7 48 83 c0 10 48 89 84 24 80 00 00 00 48 8b 03 <48> 8b 90 78 04 00 00 48 8b b0 58 04 00 00 e8 37 58 ea ff 48 8b 7c
``

I try on different computers and have same error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.