llamafile icon indicating copy to clipboard operation
llamafile copied to clipboard

Linux: File does not contain a valid CIL image

Open jeancf opened this issue 9 months ago • 1 comments

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?

jeancf avatar Apr 26 '24 10:04 jeancf

I'm having the same issue on Ubuntu 22.04

apirrone avatar Apr 26 '24 13:04 apirrone

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!

jart avatar Apr 26 '24 18:04 jart

This fixed it, thanks !

apirrone avatar Apr 28 '24 12:04 apirrone