mirror of
https://github.com/ollama/ollama.git
synced 2026-04-30 07:57:51 -05:00
fix: qwen2.5 vl rope (#13486)
* qwen25vl: bump max pixels * qwen25vl: mrope fix qwen2.5vl window * qwen25vl: vision rope
This commit is contained in:
@@ -77,6 +77,13 @@ func WithMRoPE(sections []int) func(*Options) {
|
||||
}
|
||||
}
|
||||
|
||||
func WithVision(sections []int) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.Type |= 1<<3 | 1<<4
|
||||
opts.MRoPE.Sections = sections
|
||||
}
|
||||
}
|
||||
|
||||
func WithInterleaveMRoPE(sections []int) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.Type |= 1<<3 | 1<<5
|
||||
|
||||
Reference in New Issue
Block a user