Skip to content

common : keep HF cache dir as path, expose UTF-8 only for logs - #29320

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
angt:common-keep-hf-cache-dir-as-path-expose-utf-8-only-for-logs
Sep 23, 2026
Merged

ggerganov merged 1 commit into
ggml-org:masterfrom
angt:common-keep-hf-cache-dir-as-path-expose-utf-8-only-for-logs

Conversation

@angt

@angt angt commented Sep 23, 2026

Copy link
Copy Markdown
Member

Overview

Restore get_cache_directory() as fs::path as string() can be lossy on Windows

Partially reverts #29125

Additional information

We also use u8string() to display paths correctly as UTF-8 on Windows.

Requirements

Restore get_cache_directory() as fs::path as string() can be lossy on Windows

Partially reverts ggml-org#29125

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
@angt
angt requested a review from ggerganov September 23, 2026 15:50
@angt
angt requested a review from a team as a code owner September 23, 2026 15:50
@ggerganov
ggerganov merged commit bddf826 into ggml-org:master Sep 23, 2026
12 checks passed
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026
…org#29320)

Restore get_cache_directory() as fs::path as string() can be lossy on Windows

Partially reverts ggml-org#29125

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
edwardyoon pushed a commit to edwardyoon/focus-llama that referenced this pull request Oct 7, 2026
…org#29320)

Restore get_cache_directory() as fs::path as string() can be lossy on Windows

Partially reverts ggml-org#29125

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
(cherry picked from commit bddf826)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants