mirror of
https://github.com/ollama/ollama.git
synced 2026-03-09 07:16:38 -05:00
ggml update to b6840 (#12791)
This commit is contained in:
@@ -57,9 +57,16 @@ func WithAttentionFactor(attentionFactor float32) func(*Options) {
|
||||
}
|
||||
}
|
||||
|
||||
func WithMRoPESections(sections []int) func(*Options) {
|
||||
func WithMRoPE(sections []int) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.Type |= 1 << 3
|
||||
opts.MRoPE.Sections = sections
|
||||
}
|
||||
}
|
||||
|
||||
func WithInterleaveMRoPE(sections []int) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.Type |= 1<<3 | 1<<5
|
||||
opts.MRoPE.Sections = sections
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user