[GH-ISSUE #4285] Ollama crate cannot generate modelfile with non-English name #64715

Closed
opened 2026-05-03 18:35:43 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @BarcodeQH on GitHub (May 9, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4285

Originally assigned to: @royjhan on GitHub.

What is the issue?

Ollama cannot generate a modelfile which name is non-english (eg: Chinese) after upgrade to v0.1.34

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

v0.1.34

Originally created by @BarcodeQH on GitHub (May 9, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4285 Originally assigned to: @royjhan on GitHub. ### What is the issue? Ollama cannot generate a modelfile which name is non-english (eg: Chinese) after upgrade to v0.1.34 ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version v0.1.34
GiteaMirror added the bug label 2026-05-03 18:35:43 -05:00
Author
Owner

@BarcodeQH commented on GitHub (May 9, 2024):

I'm pretty sure it works in versions before v0.1.34.

<!-- gh-comment-id:2102661546 --> @BarcodeQH commented on GitHub (May 9, 2024): I'm pretty sure it works in versions before v0.1.34.
Author
Owner

@taozhiyuai commented on GitHub (May 9, 2024):

折腾这玩意干嘛?默认的modelfile不挺好的?

<!-- gh-comment-id:2103006182 --> @taozhiyuai commented on GitHub (May 9, 2024): 折腾这玩意干嘛?默认的modelfile不挺好的?
Author
Owner

@jmorganca commented on GitHub (Jun 25, 2024):

Hi @BarcodeQH - you should be able to create a model from a Modelfile with unicode characters. However, model names are more restricted. Hope this helps!

<!-- gh-comment-id:2187985273 --> @jmorganca commented on GitHub (Jun 25, 2024): Hi @BarcodeQH - you should be able to create a model from a Modelfile with unicode characters. However, model names are more restricted. Hope this helps!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64715