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
0bda7289
Commit
0bda7289
authored
Oct 02, 2025
by
Jesse Gross
Committed by
Jesse Gross
Oct 02, 2025
Browse files
llm: Enable flash attention by default for qwen3 and qwen3moe
parent
55ca8272
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/ggml/ggml.go
fs/ggml/ggml.go
+2
-0
No files found.
fs/ggml/ggml.go
View file @
0bda7289
...
@@ -899,6 +899,8 @@ func (f GGML) SupportsFlashAttention() bool {
...
@@ -899,6 +899,8 @@ func (f GGML) SupportsFlashAttention() bool {
func
(
f
GGML
)
FlashAttention
()
bool
{
func
(
f
GGML
)
FlashAttention
()
bool
{
return
slices
.
Contains
([]
string
{
return
slices
.
Contains
([]
string
{
"gptoss"
,
"gpt-oss"
,
"gptoss"
,
"gpt-oss"
,
"qwen3"
,
"qwen3moe"
,
},
f
.
KV
()
.
String
(
"general.architecture"
))
},
f
.
KV
()
.
String
(
"general.architecture"
))
}
}
...
...
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