SYSTRAN / faster-whisper

Faster Whisper transcription with CTranslate2
MIT License
12.51k stars 1.05k forks source link

Jupyter Lab crashing with faster-whisper #950

Open Denis-Kazakov opened 3 months ago

Denis-Kazakov commented 3 months ago

Linux Mint 21.3 with a new, clean, dedicated conda environment. After installing all packages, I tried to run the example from the Usage section of this repo. But when I get to this line segments, info = model.transcribe(os.path.join(file_path, file), beam_size=5, language='ru') Jupyter Lab crashes with the following message and then it all repeats again. Kernel Restarting The kernel for MyCode/AWATERA/Audio/ASR/Streaming/faster-whisper.ipynb appears to have died. It will restart automatically. This is what I see in the terminal: [I 2024-08-06 13:43:45.259 ServerApp] Kernel restarted: ed025242-4bc3-4947-a55e-fef1cc45541f [I 2024-08-06 13:43:45.262 ServerApp] Starting buffering for ed025242-4bc3-4947-a55e-fef1cc45541f:2dbb2144-a6c0-48d0-a7c4-a605bba59fe8 [I 2024-08-06 13:43:45.266 ServerApp] Connecting to kernel ed025242-4bc3-4947-a55e-fef1cc45541f. [I 2024-08-06 13:43:45.266 ServerApp] Restoring connection for ed025242-4bc3-4947-a55e-fef1cc45541f:2dbb2144-a6c0-48d0-a7c4-a605bba59fe8 [I 2024-08-06 13:44:00.249 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), keep random ports [W 2024-08-06 13:44:00.250 ServerApp] kernel ed025242-4bc3-4947-a55e-fef1cc45541f restarted [I 2024-08-06 13:44:00.255 ServerApp] Starting buffering for ed025242-4bc3-4947-a55e-fef1cc45541f:2dbb2144-a6c0-48d0-a7c4-a605bba59fe8 [I 2024-08-06 13:44:00.277 ServerApp] Connecting to kernel ed025242-4bc3-4947-a55e-fef1cc45541f. [I 2024-08-06 13:44:00.277 ServerApp] Restoring connection for ed025242-4bc3-4947-a55e-fef1cc45541f:2dbb2144-a6c0-48d0-a7c4-a605bba59fe8