[GH-ISSUE #12152] LLM (llama2:7b) spams '#' in output #33840

Closed
opened 2026-04-22 16:56:26 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Nikolat27 on GitHub (Sep 2, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12152

What is the issue?

I have installed ollama (have tried both docker and install.sh) on jetson AGX (aarch64 cpu, ubuntu20, jetpack5, cuda11.4, llama2:7b model with 0.11.8 ollama) and when i give it a prompt it returns a bunch of hashtags '#' as a response.

Relevant log output

user@jetson:~$ docker exec -it ollama ollama run llama2:7b
>>> Give me 300 words about UNIX os

UNIX is an operating system that was first developed in the 1970s and has since become a widely used and respected operating system. One###############################

>>> Give me 300 words about mac os
###############################

>>> Tell me about ken Thompson 
###############################

>>> what`s 2 +2
###############################

OS

Linux

GPU

Nvidia

CPU

Other

Ollama version

0.11.8

Originally created by @Nikolat27 on GitHub (Sep 2, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12152 ### What is the issue? I have installed ollama (have tried both docker and install.sh) on jetson AGX (aarch64 cpu, ubuntu20, jetpack5, cuda11.4, llama2:7b model with 0.11.8 ollama) and when i give it a prompt it returns a bunch of hashtags '#' as a response. ### Relevant log output ```shell user@jetson:~$ docker exec -it ollama ollama run llama2:7b >>> Give me 300 words about UNIX os UNIX is an operating system that was first developed in the 1970s and has since become a widely used and respected operating system. One############################### >>> Give me 300 words about mac os ############################### >>> Tell me about ken Thompson ############################### >>> what`s 2 +2 ############################### ``` ### OS Linux ### GPU Nvidia ### CPU Other ### Ollama version 0.11.8
GiteaMirror added the bug label 2026-04-22 16:56:26 -05:00
Author
Owner

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

Server logs may aid in debugging.

$ docker exec -it ollama ollama -v
ollama version is 0.11.8
$ docker exec -it ollama ollama run llama2:7b
>>> Give me 300 words about UNIX os
Unix is an open-source operating system that was first developed in the 
1970s by a team of researcher at Bell Labs. It is known for its 
...

>>> Give me 300 words about mac os
Mac OS is an operating system designed by Apple Inc. specifically for use 
on Mac computers. It is known for its user-friendly interface, powerful 
...

>>> Tell me about ken Thompson
Ken Thompson was a computer scientist and operating system designer who 
played a significant role in the development of the Unix operating system. 
...

>>> what`s 2 +2
Of course! 2 + 2 = 4.
<!-- gh-comment-id:3246099413 --> @rick-github commented on GitHub (Sep 2, 2025): [Server logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues) may aid in debugging. ```console $ docker exec -it ollama ollama -v ollama version is 0.11.8 $ docker exec -it ollama ollama run llama2:7b >>> Give me 300 words about UNIX os Unix is an open-source operating system that was first developed in the 1970s by a team of researcher at Bell Labs. It is known for its ... >>> Give me 300 words about mac os Mac OS is an operating system designed by Apple Inc. specifically for use on Mac computers. It is known for its user-friendly interface, powerful ... >>> Tell me about ken Thompson Ken Thompson was a computer scientist and operating system designer who played a significant role in the development of the Unix operating system. ... >>> what`s 2 +2 Of course! 2 + 2 = 4. ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#33840