[GH-ISSUE #8514] Error: unknown parameter 'tfs_z' #31248

Closed
opened 2026-04-22 11:31:18 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @art4key on GitHub (Jan 21, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8514

What is the issue?

PS C:\Projects\project> ollama cp llama3.1 project
copied 'llama3.1' to 'project'
PS C:\Projects\project> ollama create project -f modelfile
gathering model components 
Error: unknown parameter 'tfs_z'

By specifying the tfs_z parameter in Modelfile I get an error that this parameter is unknown, however in previous versions of ollama (<0.5.0) it worked stably.

This parameter appears in the documentation https://github.com/ollama/ollama/blob/main/docs/modelfile.md, but creating a model with it is impossible.

OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

0.5.7

Originally created by @art4key on GitHub (Jan 21, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8514 ### What is the issue? ``` PS C:\Projects\project> ollama cp llama3.1 project copied 'llama3.1' to 'project' PS C:\Projects\project> ollama create project -f modelfile gathering model components Error: unknown parameter 'tfs_z' ``` By specifying the tfs_z parameter in Modelfile I get an error that this parameter is unknown, however in previous versions of ollama (<0.5.0) it worked stably. This parameter appears in the documentation https://github.com/ollama/ollama/blob/main/docs/modelfile.md, but creating a model with it is impossible. ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version 0.5.7
GiteaMirror added the bug label 2026-04-22 11:31:18 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 21, 2025):

https://github.com/ollama/ollama/issues/8252

<!-- gh-comment-id:2604214586 --> @rick-github commented on GitHub (Jan 21, 2025): https://github.com/ollama/ollama/issues/8252
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#31248