Mozilla-Ocho / llamafile

Distribute and run LLMs with a single file.
https://llamafile.ai
Other
20.58k stars 1.04k forks source link

Bug: binary called ape in PATH breaks everything #587

Open step21 opened 1 month ago

step21 commented 1 month ago

Contact Details

step21@devtal.de

What happened?

I attempted to run Llama-3.2-3B-Instruct.Q6_K.llamafile. I also have a binary in my path called ape, that is the engine/parser for Attempto Controlled English. (https://github.com/Attempto/APE) This completely breaks execution, as some part of the script apparently uses a function or whatever called ape, but when a binary in PATH is called that, it executes that. Or that is at least my current understanding of it.

Version

llamafile 0.8.4

What operating system are you seeing the problem on?

Linux, Mac

Relevant log output

./Llama-3.2-3B-Instruct.Q6_K.llamafile
Attempto Parsing Engine for ACE 6.7, version 6.7.180715
Copyright 2008-2013, Attempto Group, University of Zurich
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
Please visit http://attempto.ifi.uzh.ch for details.

Command-line arguments:

(rest cut off for briefness)