mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Question - Batch Processing #205
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @virentakia on GitHub (Jan 22, 2025).
I'm processing a batch of approximately 100 prompts, each ranging from 1,200 to 14,000 tokens in length. Given that the input context length must be specified during client initialisation, I'm considering two options:
OR
Are there other avenues I should be exploring?
@jessegross commented on GitHub (Jan 23, 2025):
The first one - the second will cause model reloading as you switch context lengths.
@virentakia commented on GitHub (Jan 23, 2025):
Thanks @jessegross 😊, appreciate it