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
d6178233
Unverified
Commit
d6178233
authored
Aug 11, 2023
by
Michael Yang
Committed by
GitHub
Aug 11, 2023
Browse files
Merge pull request #333 from jmorganca/off-by-one
ggml: fix off by one error
parents
e41576e7
6ed991c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
llm/ggml.go
llm/ggml.go
+1
-2
No files found.
llm/ggml.go
View file @
d6178233
...
...
@@ -29,7 +29,7 @@ const (
FileTypeQ4_0
FileTypeQ4_1
FileTypeQ4_1_F16
FileTypeQ8_0
=
iota
+
3
FileTypeQ8_0
=
iota
+
2
FileTypeQ5_0
FileTypeQ5_1
FileTypeQ2_K
...
...
@@ -37,7 +37,6 @@ const (
FileTypeQ4_K
FileTypeQ5_K
FileTypeQ6_K
FileTypeUnknown
=
-
1
)
type
GGML
struct
{
...
...
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