ggml-org/llama.cpp

Eval bug: Model loading fails on Windows when path contains non-ASCII (Cyrillic) characters

已關閉

#18,571 建立於 2026年1月3日

 (8 則留言) (0 個反應) (0 位負責人)C++ (21,764 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (124,134 顆星)
PR 合併指標
 (平均合併 6天 8小時) (30 天內合併 389 個 PR)

描述

Name and Version

b7539 On Windows: Currently, llama.cpp attempts to open GGUF files using fopen, which fails when the path contains Cyrillic characters. gguf_init_from_file: failed to open GGUF file 'D:\Загрузки\models\llm\olmOCR-2-7B-1025-Q4_K_M.gguf'. For example, any ASCII characters are not supported, and the app throws an error. This means that any "Russian," "Chinese," "Korean," or any other characters in the path faild to load model.

Operating systems

Windows

GGML backends

Vulkan

Hardware

Ryzen 9 5900x + RTX 4090

Models

olmOCR-2-7B-1025-Q4_K_M Qwen2.5-VL-7B-Instruct-Q4_K_M

Problem description & steps to reproduce

On Windows, create a directory with Cyrillic characters, e.g.:

  1. for exempel D:\Загрузки\models\
  2. Place a .gguf model file inside.
  3. Load the model using llama.cpp
  4. Model loading fails with failed to open GGUF file.

First Bad Commit

No response

Relevant log output

貢獻者指南