HlidacStatu / whisperX-FastAPI

FastAPI service on top of WhisperX
1 stars 1 forks source link

Identifikace padu whisper a uvedeni do stavu tasku #4

Open michalblaha opened 4 hours ago

michalblaha commented 4 hours ago

Nekdy whisper spadne (out of memory ci jina chyba) je mozne toto identifikovat a zaznamenat ve stavu tasku?

Nyni zustava task ve stavu "processing"….

michalblaha commented 3 hours ago

ukazka padu whisperx

INFO:app.routers.stt:Received URL for processing: https://somedata.hlidacstatu.cz/mp3/zasedani-zastupitelstev/ebf86a36af027170a4d2ace2bd588863.mp3
INFO:app.routers.stt:File downloaded and saved temporarily: /tmp/tmpib4rxnn8.mp3
INFO:app.routers.stt:Audio file processed: duration 20527.7789375 seconds
INFO:app.routers.stt:Task added to database: ID db02cc69-b3a7-4c76-8f26-830c7424e61e
INFO:app.routers.stt:Background task scheduled for processing: ID db02cc69-b3a7-4c76-8f26-830c7424e61e
INFO:pytorch_lightning.utilities.migration.utils:Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.3.3. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../root/.cache/torch/whisperx-vad-segmentation.bin`
/usr/local/lib/python3.11/dist-packages/huggingface_hub/file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[2024-11-19 23:12:12 +0000] [1] [ERROR] Worker (pid:40925) was sent SIGKILL! Perhaps out of memory?
[2024-11-19 23:12:12 +0000] [69205] [INFO] Booting worker with pid: 69205