[GH-ISSUE #8252] BUG: Error when creating Modelfile - Error: unknown parameter 'tfs_z' #5273

Closed
opened 2026-04-12 16:26:30 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @holger777 on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/8252

Originally assigned to: @jmorganca on GitHub.

What is the issue?

Former working Modelfiles are missing now tfs_z when I create them with:

Error: unknown parameter 'tfs_z'

All other parameters work as expected. Is it no longer supported?

OS

No response

GPU

No response

CPU

No response

Ollama version

0.5.4

Originally created by @holger777 on GitHub (Dec 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8252 Originally assigned to: @jmorganca on GitHub. ### What is the issue? Former working Modelfiles are missing now tfs_z when I create them with: ``` Error: unknown parameter 'tfs_z' ``` All other parameters work as expected. Is it no longer supported? ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version 0.5.4
GiteaMirror added the bug label 2026-04-12 16:26:30 -05:00
Author
Owner

@rick-github commented on GitHub (Dec 27, 2024):

tfs_z was removed from llama.cpp in https://github.com/ggerganov/llama.cpp/pull/10071 and the recent vendor sync in https://github.com/ollama/ollama/pull/7875 propogated it into ollama.

<!-- gh-comment-id:2563203410 --> @rick-github commented on GitHub (Dec 27, 2024): tfs_z was removed from llama.cpp in https://github.com/ggerganov/llama.cpp/pull/10071 and the recent vendor sync in https://github.com/ollama/ollama/pull/7875 propogated it into ollama.
Author
Owner

@holger777 commented on GitHub (Dec 27, 2024):

Ooops. That's sad.
Thank you for your really fast answer. and support.

<!-- gh-comment-id:2563914233 --> @holger777 commented on GitHub (Dec 27, 2024): Ooops. That's sad. Thank you for your really fast answer. and support.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5273