keldenl/gpt-llama.cpp

gguf supported?

hiqsociety opened this issue · 1 comments

gguf supported?

I thought not but I edited the test shell file in the scripts to accept gguf too and it worked. This;

# Check if the file exists
if [[ "$path" != *.bin && "$path" != *.gguf ]]; then
    echo "Error: The file does not exist. Please make sure you have provided the correct path."
    exit 1
fi

# Check if the file has a .bin extension
if [[ "$path" != *.bin && "$path" != *.gguf ]]; then
    echo "Error: The file extension is not .bin. Please make sure you have provided the correct file."
    exit 1
fi