Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GGUF support #1

Open
sebaxakerhtc opened this issue Oct 27, 2024 · 0 comments
Open

GGUF support #1

sebaxakerhtc opened this issue Oct 27, 2024 · 0 comments

Comments

@sebaxakerhtc
Copy link

sebaxakerhtc commented Oct 27, 2024

Hi. Can you add support of .gguf models?
Looks like it work with GGML only
For now I have this

sebaxakerhtc@llama:~/llama-telegram-bot$ python3 bot.py
llama.cpp: loading model from pytorch_model.bin
error loading model: unknown (magic, version) combination: 04034b50, 08080000; is this really a GGML file?
llama_init_from_file: failed to load model
Traceback (most recent call last):
  File "/home/sebaxakerhtc/llama-telegram-bot/bot.py", line 28, in <module>
    llama = Llama(model_path=MODEL_PATH, n_gpu_layers=int(GPU_LAYERS))
  File "/usr/local/lib/python3.10/dist-packages/llama_cpp/llama.py", line 197, in __init__
    assert self.ctx is not None
AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant