Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: APE is running on WIN32 inside WSL - whisperfile - zsh #579

Open
baptistecs opened this issue Oct 4, 2024 · 1 comment
Open

Bug: APE is running on WIN32 inside WSL - whisperfile - zsh #579

baptistecs opened this issue Oct 4, 2024 · 1 comment

Comments

@baptistecs
Copy link

Contact Details

No response

What happened?

https://huggingface.co/Mozilla/whisperfile

wget https://huggingface.co/Mozilla/whisperfile/resolve/main/whisper-tiny.en.llamafile
wget https://huggingface.co/Mozilla/whisperfile/resolve/main/raven_poe_64kb.mp3
chmod +x whisper-tiny.en.llamafile
./whisper-tiny.en.llamafile -f raven_poe_64kb.mp3 -pc

error: APE is running on WIN32 inside WSL. You need to run: sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'

sudo cat /proc/sys/fs/binfmt_misc/WSLInterop
enabled
interpreter /init
flags: PF
offset 0
magic 4d5a

sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'

sudo cat /proc/sys/fs/binfmt_misc/WSLInterop
cat: /proc/sys/fs/binfmt_misc/WSLInterop: No such file or directory

sudo sh -c "echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop-late"
./whisper-tiny.en.llamafile -f raven_poe_64kb.mp3 -pc
zsh: exec format error: ./whisper-tiny.en.llamafile

sudo cat /proc/sys/fs/binfmt_misc/WSLInterop-late
cat: /proc/sys/fs/binfmt_misc/WSLInterop-late: No such file or directory

It works fine using bash instead of zsh

Version

whisperfile v0.8.13

What operating system are you seeing the problem on?

Windows

Relevant log output

No response

@baptistecs
Copy link
Author

baptistecs commented Oct 4, 2024

Not sure if these issues are related:
#100
#356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant