Open cpfiffer opened 4 weeks ago
<Please write a descriptive title>
😄
Woops, issue name updated.
Also getting index 146001 is out of bounds for dimension 1 with size 128256
with Qwen/Qwen2.5-7B-Instruct
during json generation with this llm:
llm = Llama(model[1], tokenizer=llama_cpp.llama_tokenizer.LlamaHFTokenizer.from_pretrained(model[0]), n_ctx=4096, n_gpu_layers=-1, verbose=False,)
Describe the issue as clearly as possible:
When using outlines with the Llama 3.2 Vision model, simple regex pattern generation works, but JSON schema-based generation fails with index out of bounds errors.
Steps/code to reproduce the bug:
Expected result:
Error message:
On GPU:
Outlines/Python version information:
Version information
Context for the issue:
From HatterNoMad on the Outlines Discord.