mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
input: Rename Options to Batch
Options is no longer very descriptive of this struct.
This commit is contained in:
parent
ffbfe833da
commit
0c220935bd
14 changed files with 73 additions and 60 deletions
|
@ -270,7 +270,7 @@ func testCache(t *testing.T, backend ml.Backend, cache Cache, tests []testCase)
|
|||
context := backend.NewContext()
|
||||
defer context.Close()
|
||||
|
||||
err := cache.StartForward(context, input.Options{Positions: test.pos, Sequences: test.seqs})
|
||||
err := cache.StartForward(context, input.Batch{Positions: test.pos, Sequences: test.seqs})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue