Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing slash in fs_get_cache_directory() #7503

Merged
merged 3 commits into from
May 25, 2024

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented May 23, 2024

Follow up #7353

There is a bug when XDG_CACHE_HOME is set without a trailing slash, it produces the path: /home/USER/.cachellama.cpp instead of /home/USER/.cache/llama.cpp

Also use LOCALAPPDATA for Windows (as suggested by @cebtenzzre )

@ngxson ngxson requested review from ggerganov and cebtenzzre May 23, 2024 22:28
@mofosyne mofosyne added bugfix fixes an issue or bug Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix labels May 24, 2024
@mofosyne mofosyne added the merge ready indicates that this may be ready to merge soon and is just holding out in case of objections label May 24, 2024
@mofosyne mofosyne merged commit 902184d into ggerganov:master May 25, 2024
56 of 67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fixes an issue or bug merge ready indicates that this may be ready to merge soon and is just holding out in case of objections Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants