Open tio-trom opened 2 months ago
I 2nd this request.
hmmm..... simply running the command to install whisper on the target (remote runner) system seems insufficient. I keep having my remote runner error out on the transcoding process. Will look into this further.
Command failed with ENOENT: whisper-ctranslate2 /var/www/peertube_remote_runner/.cache/peertube-runner-nodejs/default/transcoding/12280bd9-034b-49e6-a34e-5ad342069d8f --model small --word_timestamps True --vad_filter true --output_format all --output_dir /var/www/peertube_remote_runner/.cache/peertube-runner-nodejs/default/transcription/92Wf5WBt3yiuhER7UVfsrF
spawn whisper-ctranslate2 ENOENT
Editing this, because I dont want to clutter this issue with particularly off-topic items. I wan't sure I understood "update the runner", but if you mean update the config, that did work. I added a line for enginePath = ""
and set it to the output of which whisper-ctranslate2
which was /usr/local/bin/whisper-ctranslate2
. I also changed my model to large-v2 instead of small, just in case that matters here (I have extra ram on my runner. large-v2 still used less that 4 GB with a few-minute-long video.). No more enoent.
@MadMan247 try also updating the runner then restart the server. Works well for us. Tested with over 6 servers.
Since Peertube 6.2 there is an option to auto-caption the uploaded videos and the remote runners need the whisper package to be installed. See https://docs.joinpeertube.org/maintain/tools#runner-installation
pip install whisper-ctranslate2 # or pipx install whisper-ctranslate2 depending on your distribution
If we can please add it as a dependency to YNH.