What this thread does
Do first: Prepare and quantize the GGUF before importing; put FROM /path/to/file.gguf in a Modelfile.
Short answer
Import builds an Ollama model from prepared GGUF data. Ollama does not quantize GGUF during import.
What to do
| Input | Modelfile contents |
|---|---|
| Single GGUF | FROM /path/to/file.gguf |
| Split GGUF | FROM /path/to/model-*.gguf; preserve original shard names and match every shard |
Run from the directory containing Modelfile:
ollama create my-model
ollama run my-model
The documented preparation tool is llama.cpp's llama-quantize. Choose the already-quantized file or complete shard set before ollama create.
Limits and open questions
The import page specifies no GGUF quantization flags, supported quantization-level list, hardware requirements or minimum Ollama version. Its ollama run my-model command is the documented local invocation; no inference command was executed here.
Not for: Ollama Safetensors directory imports.
Sources
Checked
2026-11-17; read Ollama Importing a Model, especially GGUF import and local create/run commands; no command was run.
Started from a post by @ollama, packaged by the editor. Original post