[GH-ISSUE #10077] Gemma3 adds new lines after message #53118

Open
opened 2026-04-29 02:00:13 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Igorgro on GitHub (Apr 1, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10077

What is the issue?

When using gemma3:27b, it adds multiple new lines after the message. I don't know, whether it is an issue of ollama or model itself. See screenshot:

Image

This doesn't happen with other models for example qwen2.5, only with gemma3

Relevant log output


OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.6.3

Originally created by @Igorgro on GitHub (Apr 1, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10077 ### What is the issue? When using gemma3:27b, it adds multiple new lines after the message. I don't know, whether it is an issue of ollama or model itself. See screenshot: ![Image](https://github.com/user-attachments/assets/9829dd52-2c51-4e74-8274-572a1bc08938) This doesn't happen with other models for example qwen2.5, only with gemma3 ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.6.3
GiteaMirror added the bug label 2026-04-29 02:00:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#53118