[GH-ISSUE #12183] Embedding Gemma failes to run with Error 400 Bad Request #8102

Closed
opened 2026-04-12 20:24:39 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @MathiasSchindler on GitHub (Sep 4, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12183

What is the issue?

ollama run embeddinggemma

results in

Error: 400 Bad Request: "embeddinggemma" does not support generate

ollama version is 0.11.10

Relevant log output

ollama show embeddinggemma:latest
  Model
    architecture        gemma3     
    parameters          307.58M    
    context length      2048       
    embedding length    768        
    quantization        BF16       

  Capabilities
    embedding    

  Parameters
    num_batch    2048    
    num_ctx      2048    


% ollama run embeddinggemma
pulling manifest 
pulling 0800cbac9c20: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 621 MB                         
pulling 45dc10444b87: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏   34 B                         
pulling 991197bf6ec9: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏  342 B                         
verifying sha256 digest 
writing manifest 
success

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.11.10

Originally created by @MathiasSchindler on GitHub (Sep 4, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12183 ### What is the issue? ollama run embeddinggemma results in Error: 400 Bad Request: "embeddinggemma" does not support generate ollama version is 0.11.10 ### Relevant log output ```shell ollama show embeddinggemma:latest Model architecture gemma3 parameters 307.58M context length 2048 embedding length 768 quantization BF16 Capabilities embedding Parameters num_batch 2048 num_ctx 2048 % ollama run embeddinggemma pulling manifest pulling 0800cbac9c20: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 621 MB pulling 45dc10444b87: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 34 B pulling 991197bf6ec9: 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 342 B verifying sha256 digest writing manifest success ``` ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.11.10
GiteaMirror added the bug label 2026-04-12 20:24:39 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 4, 2025):

embeddinggemma only does embedding.

$ curl -s http://localhost:11434/api/embed -d '{
  "model":"embeddinggemma",
  "input":"Llamas are members of the camelid family"}' | jq -c '.embeddings[]|.[0:3] + ["..."] + .[-3:]'
[-0.16353732,-0.0052457117,0.011448948,"...",-0.013904725,-0.024492351,-0.0077026007]
<!-- gh-comment-id:3255916005 --> @rick-github commented on GitHub (Sep 4, 2025): embeddinggemma only does embedding. ```console $ curl -s http://localhost:11434/api/embed -d '{ "model":"embeddinggemma", "input":"Llamas are members of the camelid family"}' | jq -c '.embeddings[]|.[0:3] + ["..."] + .[-3:]' [-0.16353732,-0.0052457117,0.011448948,"...",-0.013904725,-0.024492351,-0.0077026007] ```
Author
Owner

@MathiasSchindler commented on GitHub (Sep 4, 2025):

I completely misread the error statement, my apologies.

<!-- gh-comment-id:3255980791 --> @MathiasSchindler commented on GitHub (Sep 4, 2025): I completely misread the error statement, my apologies.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8102