Feature Extraction
GGUF
multilingual
embedding
multimodal-embedding
multimodal
vision
audio
video
image-feature-extraction
audio-feature-extraction
video-feature-extraction
sentence-similarity
unsloth
Instructions to use unsloth/embeddinggemma-2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/embeddinggemma-2-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf unsloth/embeddinggemma-2-GGUF:UD-Q4_K_XL --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf unsloth/embeddinggemma-2-GGUF:UD-Q4_K_XL --embeddings
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible embeddings server: ./build/bin/llama serve -hf unsloth/embeddinggemma-2-GGUF:UD-Q4_K_XL --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use unsloth/embeddinggemma-2-GGUF with Ollama:
ollama run hf.co/unsloth/embeddinggemma-2-GGUF:UD-Q4_K_XL
- Unsloth Desktop
- Docker Model Runner
How to use unsloth/embeddinggemma-2-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/embeddinggemma-2-GGUF:UD-Q4_K_XL
- Lemonade
How to use unsloth/embeddinggemma-2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/embeddinggemma-2-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.embeddinggemma-2-GGUF-UD-Q4_K_XL
List all available models
lemonade list
- Atomic Chat
Add note on running the GGUF with llama-cpp-python (text embeddings, Linux x86_64, T4)
#4
by vinamrag-code - opened
Users who load this GGUF with the PyPI build of llama-cpp-python (0.3.36) get:
llama_model_load: error loading model: unknown model architecture: 'gemma-embedding2'
This PR adds a short subsection after "Quick Start" pointing to a community-built prebuilt CUDA wheel that can load the model.
Details:
- Works on: Linux x86_64, Python 3.13, CUDA 13 runtime, compute capability 7.5 GPUs (Colab T4).
- Does not work on: Windows, macOS, ARM, or other GPU generations.
- Tested with embeddinggemma-2-BF16.gguf for text embeddings only (not images, video or audio). All layers offloaded to the GPU, 768-dimensional output.
- Community-built, not affiliated with Unsloth. Build details and the exact llama.cpp commit are listed in the wheel repo's README: https://huggingface.co/vinamrag-code/llama-cpp-python-cuda-wheels
Related discussion: #
Happy to adjust the wording, placement, or remove the example if you prefer a link only.