[GH-ISSUE #85] Too many tokens error not provided to users #30

Closed
opened 2026-04-12 09:34:00 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jmorganca on GitHub (Jul 17, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/85

When running a model and passing a context larger than the context window, the ollama server prints an error: llama_tokenize: too many tokens but not the client.

Originally created by @jmorganca on GitHub (Jul 17, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/85 When running a model and passing a context larger than the context window, the `ollama` server prints an error: `llama_tokenize: too many tokens` but not the client.
GiteaMirror added the bug label 2026-04-12 09:34:00 -05:00
Author
Owner

@mxyng commented on GitHub (Jul 17, 2023):

Duplicate of #60?

<!-- gh-comment-id:1638506263 --> @mxyng commented on GitHub (Jul 17, 2023): Duplicate of #60?
Author
Owner

@jmorganca commented on GitHub (Jul 19, 2023):

Indeed! Will close for #60

<!-- gh-comment-id:1641297974 --> @jmorganca commented on GitHub (Jul 19, 2023): Indeed! Will close for #60
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30