Instructions to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF", filename="Qwen2.5-VL-7B-Abliterated-Caption-it.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "\"cats.jpg\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with Ollama:
ollama run hf.co/mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF to start chatting
- Docker Model Runner
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF-Q4_K_M
List all available models
lemonade list
mat1 and mat2 shapes cannot be multiplied
Just replaced the working FP8 version for the gguf and had this error:
mat1 and mat2 shapes cannot be multiplied (5456x1280 and 3840x1280)
It works normally with the FP8 version.
I'm on comfy 0.3.52
Anything I could try for fixing it?
Thanks
which fp8 and which gguf? and does comfy even support qwen 2.5 vl? can you try with llama.cpp, for which these files were made?
@Djrema
https://huggingface.co/prithivMLmods/Qwen2.5-VL-7B-Abliterated-Caption-it/discussions/2
I think you are facing the same issue. π
Kindly check out the discussion.
Thanks mate. I'll check that out.
I had this issue with the f16 model and could solve it by renaming everything to :
Qwen2.5-VL-7B-Abliterated-Caption-it-F16.gguf
Qwen2.5-VL-7B-Abliterated-Caption-it-F16-mmproj-F16.gguf
Now the gguf model loads properly in comfyui, but I still have an issue with arch mismatch, which I solved by implementing the following :
https://github.com/city96/ComfyUI-GGUF/pull/349
Hope it helps someone, it's a bit annoying to go through.