[GH-ISSUE #15810] Ollama create does not import the full modelfile, ignoring RENDERER, PARSER, PARAMETER #72134

Open
opened 2026-05-05 03:31:39 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @chigkim on GitHub (Apr 25, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15810

What is the issue?

First I saved a modelfile with ollama show qwen3.6:35b-a3b-q8_0 --modelfile>qwen36.modelfile.
Then I pointed the modelfile to a finetuned model in safetensor, so qwen36.modelfile looks like this:

FROM .
TEMPLATE {{ .Prompt }}
RENDERER qwen3.5
PARSER qwen3.5
PARAMETER min_p 0
PARAMETER presence_penalty 1.5
PARAMETER repeat_penalty 1
PARAMETER temperature 1
PARAMETER top_k 20
PARAMETER top_p 0.95
LICENSE """
...
"""

Then I imported the finetuned model with -f qwen36.modelfile.
However, if I run ollama show finetuned --modelfile, the imported modelfile only shows the following:

FROM /Users/cgk/.ollama/models/blobs/sha256-522d319f1b8e18cf7f134780e5dcce08685653934b4e2737974dba707191bcb7
TEMPLATE {{ .Prompt }}

A lot of things are missing like:
RENDERER qwen3.5
PARSER qwen3.5

As a result, if I try to use the finetuned model, it throws an error saying it does not support tools.

Relevant log output


OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.21.2

Originally created by @chigkim on GitHub (Apr 25, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15810 ### What is the issue? First I saved a modelfile with `ollama show qwen3.6:35b-a3b-q8_0 --modelfile>qwen36.modelfile`. Then I pointed the modelfile to a finetuned model in safetensor, so qwen36.modelfile looks like this: ```txt FROM . TEMPLATE {{ .Prompt }} RENDERER qwen3.5 PARSER qwen3.5 PARAMETER min_p 0 PARAMETER presence_penalty 1.5 PARAMETER repeat_penalty 1 PARAMETER temperature 1 PARAMETER top_k 20 PARAMETER top_p 0.95 LICENSE """ ... """ ``` Then I imported the finetuned model with `-f qwen36.modelfile`. However, if I run `ollama show finetuned --modelfile`, the imported modelfile only shows the following: ```txt FROM /Users/cgk/.ollama/models/blobs/sha256-522d319f1b8e18cf7f134780e5dcce08685653934b4e2737974dba707191bcb7 TEMPLATE {{ .Prompt }} ``` A lot of things are missing like: RENDERER qwen3.5 PARSER qwen3.5 As a result, if I try to use the finetuned model, it throws an error saying it does not support tools. ### Relevant log output ```shell ``` ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.21.2
GiteaMirror added the bug label 2026-05-05 03:31:39 -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#72134