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
b4fe3adc
"vscode:/vscode.git/clone" did not exist on "b32cf97f1f097e9db8ff05de5ba7001d360c3093"
Unverified
Commit
b4fe3adc
authored
Jul 16, 2025
by
Michael Yang
Committed by
GitHub
Jul 16, 2025
Browse files
compile bf16 support into ggml-metal (#11430)
parent
d73f8aa8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ml/backend/ggml/ggml/src/ggml-metal/metal.go
ml/backend/ggml/ggml/src/ggml-metal/metal.go
+1
-1
No files found.
ml/backend/ggml/ggml/src/ggml-metal/metal.go
View file @
b4fe3adc
...
...
@@ -4,6 +4,6 @@ package metal
//go:generate sh -c "{ echo // Code generated by 'go generate'. DO NOT EDIT.; sed -e '/__embed_ggml-common.h__/r ../ggml-common.h' -e '/__embed_ggml-common.h__/d' -e '/#include \"ggml-metal-impl.h\"/r ggml-metal-impl.h' -e '/#include \"ggml-metal-impl.h\"/d' ggml-metal.metal; } >ggml-metal-embed.metal"
// #cgo CPPFLAGS: -DGGML_METAL_NDEBUG -DGGML_METAL_EMBED_LIBRARY -I.. -I../../include
// #cgo CPPFLAGS: -DGGML_METAL_NDEBUG -DGGML_METAL_EMBED_LIBRARY
-DGGML_METAL_USE_BF16
-I.. -I../../include
// #cgo LDFLAGS: -framework Metal -framework MetalKit
import
"C"
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