[GH-ISSUE #4716] An error occurred while creating modelfile file #49484

Closed
opened 2026-04-28 12:00:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @wuuudong on GitHub (May 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4716

What is the issue?

I used the 4-bit quantized chatglm3-6b file to create the Modelfile with the following information:
C:\Windows\system32>ollama create example -f E:\LLM\chatglm.cpp\models\chatglm3.Modelfile
transferring model data
Error: unsupported content type: unknown
modelfile file Settings are as follows:
FROM ./chatglm3-ggml-q4.bin
TEMPLATE "[INST] {{ .Prompt }} [/INST]"
What is the reason?

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.1.38

Originally created by @wuuudong on GitHub (May 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4716 ### What is the issue? I used the 4-bit quantized chatglm3-6b file to create the Modelfile with the following information: C:\Windows\system32>ollama create example -f E:\LLM\chatglm.cpp\models\chatglm3.Modelfile transferring model data Error: unsupported content type: unknown modelfile file Settings are as follows: FROM ./chatglm3-ggml-q4.bin TEMPLATE "[INST] {{ .Prompt }} [/INST]" What is the reason? ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.38
GiteaMirror added the bug label 2026-04-28 12:00:09 -05:00
Author
Owner

@jmorganca commented on GitHub (May 30, 2024):

Hi @wuuudong Ollama doesn't currently support GGML files – it can however import GGUF files – would it be possible to try again with a gguf version of that model?

<!-- gh-comment-id:2140146902 --> @jmorganca commented on GitHub (May 30, 2024): Hi @wuuudong Ollama doesn't currently support GGML files – it can however import GGUF files – would it be possible to try again with a gguf version of that model?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#49484