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
1a0cfd08
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "211c7b31b858f30d6431b94142b966e604f8fa02"
Unverified
Commit
1a0cfd08
authored
May 19, 2025
by
Daniel Hiltgen
Committed by
GitHub
May 19, 2025
Browse files
avoid kv truncation during create (#10761)
parent
94ab428e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/create.go
server/create.go
+1
-1
No files found.
server/create.go
View file @
1a0cfd08
...
...
@@ -508,7 +508,7 @@ func ggufLayers(digest string, fn func(resp api.ProgressResponse)) ([]*layerGGML
var
offset
int64
for
offset
<
stat
.
Size
()
{
f
,
err
:=
ggml
.
Decode
(
blob
,
1
024
)
f
,
err
:=
ggml
.
Decode
(
blob
,
-
1
)
if
errors
.
Is
(
err
,
io
.
EOF
)
{
break
}
else
if
err
!=
nil
{
...
...
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