Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
f52b2615
"src/vscode:/vscode.git/clone" did not exist on "f634950825b612691eda64900b60f843d55d26eb"
Commit
f52b2615
authored
Mar 07, 2025
by
Jesse Gross
Committed by
Jesse Gross
Mar 07, 2025
Browse files
kvcache: Set context for shift offsets
parent
25f9b152
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kvcache/causal.go
kvcache/causal.go
+1
-1
No files found.
kvcache/causal.go
View file @
f52b2615
...
@@ -545,7 +545,7 @@ func (c *Causal) shift(seq int, beginIndex, offset int32) error {
...
@@ -545,7 +545,7 @@ func (c *Causal) shift(seq int, beginIndex, offset int32) error {
}
}
}
}
kShift
,
err
:=
ctx
.
FromIntSlice
(
offsets
,
len
(
offsets
))
kShift
,
err
:=
ctx
.
Input
()
.
FromIntSlice
(
offsets
,
len
(
offsets
))
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment