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
09035b71
Unverified
Commit
09035b71
authored
Oct 15, 2024
by
frob
Committed by
GitHub
Oct 14, 2024
Browse files
Add missing BF16 tensor type. (#7193)
Co-authored-by:
Richard Lyons
<
frob@cloudstaff.com
>
parent
f3c8b898
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
llm/ggml.go
llm/ggml.go
+2
-0
No files found.
llm/ggml.go
View file @
09035b71
...
...
@@ -244,6 +244,8 @@ func (t Tensor) typeSize() uint64 {
return
8
case
29
:
// IQ1_M
return
blockSize
/
8
+
blockSize
/
16
+
blockSize
/
32
case
30
:
// BF16
return
2
default
:
return
0
}
...
...
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