Mozilla-Ocho / llamafile

Distribute and run LLMs with a single file.

Home Page:https://llamafile.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux: File does not contain a valid CIL image

jeancf opened this issue · 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?

I'm having the same issue on Ubuntu 22.04

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!

This fixed it, thanks !