Get the latest tech news

Llama.cpp Now Supports Qwen2-VL (Vision Language Model)


This PR implements the Qwen2VL model as requested at #9246 . The main changes include: Add m-RoPE and vision RoPE mode to current RoPE OP in CPU and CUDA backend Add llama_context.n_pos_per_token ...

Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of llama.cpp

llama.cpp

Photo of Qwen2

Qwen2

Related news:

News photo

Llama.cpp guide – Running LLMs locally on any hardware, from scratch

News photo

Go library for in-process vector search and embeddings with llama.cpp

News photo

21.2× faster than llama.cpp? plus 40% memory usage reduction