-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
🐞 Bug: Linking models does not work #151
Comments
I have the same issue. I tried to add the LM Studio default path in the config file, but it seems like gollama doesn't read this property at all. |
I had the same issue running LM studio 0.3.8 4 on M3 macbook pro (sequoia). but I agree, the path in gollama should be updated! :-) |
Ah I don't really use LM Studio much anymore (as they don't allow using it for work purposes) so didn't know the path had changed. I'll definitely look into that config property not working correctly, I suspect I know what broke it.
PRs accepted! |
Same issue here. Please fix it. Thank you. |
@doskey feel free to submit a PR if you'd like? |
There is one curiosity to my previous fix --> I noticed on a different machine after updating LM Studio to the latest version that the model folder remained the same 'old' location. Therefore a fix might need to include both and a check to see if the new location exists or not and if not fall back to the old one. There might be a bug in this case, with new installations of LM Studio, where neither the new or old path is created. I'm not so familiar with PR's on GitHub, but what I described here above could be implemented this way as a fix. This code:
|
Thanks, I've got a full on day at work today and tomorrow then I'll look at creating a proper fix for this. |
Description
On a Mac m2 with macos sequoia.
First, the path seems wrong by default:
gollama -L Linking model phi4:14b-q8_0 to /Users/user/.cache/lm-studio/models Error: Linking models failed. Please check if you are running without Administrator on Windows.
The default LM Studio path is now
/Users/user/.lmstudio/models
But even passing the correct path, can't link the model, even though folder is there:
How to reproduce
Screenshots / Logs
Environment
or
Can you contribute?
How did you find out about Gollama?
The text was updated successfully, but these errors were encountered: