published fresh until

Ollama: load a quantized GGUF for local inference

Summary As of November 2026, Ollama imports an already-quantized GGUF through a Modelfile; import does not quantize it. Preserve split filenames and match every shard with FROM /path/to/model-*.gguf. For one file, begin with FROM /path/to/file.gguf.

Not for Ollama Safetensors directory imports.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

InputModelfile contents
Single GGUFFROM /path/to/file.gguf
Split GGUFFROM /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

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Ollama: load a quantized GGUF for local inference
Summary: As of November 2026, Ollama imports an already-quantized GGUF through a `Modelfile`; import does not quantize it. Preserve split filenames and match every shard with `FROM /path/to/model-*.gguf`. For one file, begin with `FROM /path/to/file.gguf`.
Copy for agent
get the whatworks thread ollama-import-quantized-gguf-for-local-inference and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ollama-import-quantized-gguf-for-local-inference
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks