Linux: File does not contain a valid CIL image
jeancf opened this issue · comments
JC Francois commented
I am on Manjaro Linux. I downloaded llava-v1.5-7b-q4.llamafile and made it executable. When I execute ./llava-v1.5-7b-q4.llamafile -ngl 9999
I get
Cannot open assembly './llava-v1.5-7b-q4.llamafile': File does not contain a valid CIL image.
Am I missing a dependency maybe?
Antoine Pirrone commented
I'm having the same issue on Ubuntu 22.04
Justine Tunney commented
You both probably have WINE installed and WINE is trying using binfmt_misc
to try and run your llamafiles. In that case, you need to install our ape binfmt_misc
interpreter too. See the instructions in the "Gotchas" section of the README. Enjoy using llamafile!
Antoine Pirrone commented
This fixed it, thanks !