Closed 54rt1n closed 7 months ago
I experienced the same
Me too, I just cannot seem to convert and quantized https://huggingface.co/deepseek-ai/deepseek-math-7b-instruct
Tried on a latest main
branch and still fails with:
terminate called after throwing an instance of 'std::out_of_range'
what(): _Map_base::at
Aborted (core dumped)
Same here, tried the latest main branch. main stops working after the first user prompt. I use:
./main -m "deepseek-coder-6.7b-instruct.Q5_K_S.gguf" --grammar-file "grammars/c.gbnf" --prompt "You are an AI programming assistant, utilizing the DeepSeek Coder model, and you only answer questions related to computer science.\n" --in-prefix "### Instruction:\n" --in-suffix "### Response:\n" -r "<|EOT|>\n" -i --interactive-first
Deepseek models are not supported at this time. See #5464
This issue was closed because it has been inactive for 14 days since being marked as stale.
Prerequisites
On b1557
Expected Behavior
The model should generate output as normal, as defined in the grammar file. This appears to only impact deepseek, as llama variants and yi run fine.
Current Behavior
terminate called after throwing an instance of 'std::out_of_range' what(): _Map_base::at
Environment and Context
AMD Ryzen 7 3700X 8-Core Processor 0a:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1) Linux 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC NVIDIA-SMI 535.104.05 Driver Version: 535.104.05 CUDA Version: 12.2
Failure Information (for bugs)
Please help provide information about the failure / bug.
Steps to Reproduce
Please provide detailed steps for reproducing the issue. We are not sitting in front of your screen, so the more detail the better.
The example below is
./main -n -1 -c 8192 -ngl 0 --repeat_penalty 1.2 --color -i --mirostat 2 -m ../llama/gguf/deepseek-coder-6.7b-instruct.Q8_0.gguf --grammar-file grammar/any_text.gbnf --prompt Test
any_text.gbnf:
Failure Logs
The error happens immediately: