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

bug: GGML generator non-zero exit code #474

Closed
ghost opened this issue Feb 12, 2024 · 2 comments
Closed

bug: GGML generator non-zero exit code #474

ghost opened this issue Feb 12, 2024 · 2 comments
Labels
bug Something isn't working generators Interfaces with LLMs

Comments

@ghost
Copy link

ghost commented Feb 12, 2024

I'm running python3 -m garak --model_type ggml --model_name /code/llm_models/llama-bot-chat.Q5_K_M.gguf --probes encoding and I have set the GGML_MAIN_PATH=/code/llama.cpp/main in my .zshrc and sourced it.

When I run the above command I get subprocess.CalledProcessError: Command '['/code/llama.cpp/main', '-m', '/code/llm_models/llama-bot-chat.Q5_K_M.gguf', '-n', '150', '--repeat-penalty', '1.1', '--presence-penalty', '0.0', '--frequency-penalty', '0.0', '--top-k', '40', '--top-p', '0.95', '--temp', '0.8', '-s', 'None', '-p', "1,h(!0JY@l@V0(-1cRL,2)Ji#2_d9P3G(3\\@Q@sR2E!@'@l?>)ARdK-AMR[L@l-&!3+66)Ai;M$An3T-"]' returned non-zero exit status 1.

I'm unsure what I have done wrong, I tested the command on both Linux and Mac, and get the same result both times.

@leondz leondz changed the title GGML generator bug: GGML generator non-zero exit code Feb 12, 2024
@leondz leondz added bug Something isn't working generators Interfaces with LLMs labels Feb 12, 2024
@leondz leondz mentioned this issue Mar 22, 2024
3 tasks
@leondz
Copy link
Collaborator

leondz commented Mar 24, 2024

thanks for this, will take a look. see also #568.

@leondz
Copy link
Collaborator

leondz commented Apr 23, 2024

fixed in #581

@leondz leondz closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working generators Interfaces with LLMs
Projects
None yet
Development

No branches or pull requests

1 participant