Free | No tracking | Every fact with a source|German and English

Error / Models and files

GGUF: tensor '…' data is not within the file bounds, model is corrupted or incomplete (model file incomplete)

The GGUF file is shorter than its own table-of-contents header claims, usually because the download was not fully completed.

The message

llama_model_load: error loading model: tensor 'blk.16.attn_output.weight' data is not within the file bounds, model is corrupted or incomplete

Affects: llama.cpp, LM Studio, KoboldCpp

Why is this happening?

At the start of every GGUF file, it says where each model part (tensor) is located. If the file is cut off, for example by an interrupted download or an incomplete copy, this information points past the end of the file, and llama.cpp stops with this message. Rarely, the file is fine and the program reads the size incorrectly: this happened in a specific Windows version of llama.cpp.

How to fix it

  1. Compare the file size: right-click the .gguf file → Properties, then compare it with the “Size of remote file” value on the Hugging Face file page.
  2. An even more exact check is the checksum: In PowerShell, run Get-FileHash .\modell.gguf (computes SHA256) and compare the value with “SHA256” on the Hugging Face file page.
  3. If the size or checksum differs, delete the file and download it again completely. Wait until the download is really finished before moving or loading the file.
  4. If the size and checksum match, the file is fine. Then update the program: llama.cpp to the latest release, in LM Studio the llama.cpp runtime (Strg+Umschalt+R).

Better not: Do not rename half-downloaded files (for example with the extension .part or .incomplete) to .gguf; they are still incomplete.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.