ollama/runner/ollamarunner
Jesse Gross 493385eb3e ollamarunner: Don't truncate a SameBatch
When truncating inputs to the the context window at the beginning of
a sequence, we remove the minimum amount possible. However, this
may cause us to truncate to the middle of a set of inputs that
the model specified should not be split up. To avoid this, we
need to remove the rest of the partial batch.
2025-04-02 10:40:38 -07:00
..
cache.go ollamarunner: Don't truncate a SameBatch 2025-04-02 10:40:38 -07:00
cache_test.go runner: clear cache when shift is not possible (#9433) 2025-03-31 12:54:45 -07:00
runner.go ollamarunner: Don't truncate a SameBatch 2025-04-02 10:40:38 -07:00