-
Notifications
You must be signed in to change notification settings - Fork 8
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
LM Studio can't fetch models or extensions anymore after a while, only system restart helps (macOS) #115
Comments
Hi @newsve thanks for the bug report. To allow us to understand the issue better please share the following:
Generally you should probably avoid deleting the whole |
macOS 14.6.1, lm studio 0.3.2, here happens all the time or always when lm studio has been running for quite some time, so when the MacBook has been sleeping here and there. Re deleting .cache/lmstudo, not a big fan of either b/c all the things you mentioned and did it only once or twice to test if it impact anything which it doesn't. you need to reboot macos at the end to get lm studio working, this is really a dealbreaker if you need more info pls let me know edit: fwiw, i use that macbook exclusively for llms, so it's pretty pristine in terms of installed stuff, maybe there's chrome, vs code, text-generationl-webui and xcode but nothing else is installed, i do usually work on other machines, so it's prob not my macbook here the screenshots as demanded: |
Same problem here. |
Same problem... is there any progress? |
For folks commenting, please include a screenshot of your app showing what you see |
Same here but in windows version I'm on 0.3.4, but this has been happening for a few months on previous builds. after a fresh boot I can do a few searches/downloads, I come back to it later and can no longer search, circa 12 seconds after attempt gives the error shown on the screenshot. otherwise the application functions as normal. I have stopped everything can on startup, checked windows defender settings, but not gone much further with diagnosis. I just work around it. There is one thing that is odd, I use anythingllm and I have found that if I can't search on LMStudio then I can't use the Gemini API's in anythingllm (other apis work fine). This has been tested a few times, and I don't often have these applications open together. I't may be entirely coincidence. so I'll do a few more tests. |
Hi @garyohanlon76 can you please give it a try with our latest beta? 0.3.5 Build 3, available here https://lmstudio.ai/beta-releases |
@yagil installed beta and able to search, will monitor. |
@yagil Trying 0.3.5 Build 4, and still getting empty model search. |
@yagil trying 0.3.5 Build 8, same result |
@yagil mac M series 0.3.5 same fetch failed |
For me, it's because of work laptop Netskope banned, reach out to Netskope support issue has been solved. |
@neolee you're actually running into a different issue. We think this happens when you run the app from the .dmg window and not from /Applications the first time you run it. Here's how to solve it (Mac only):
If this is the first time you installed LM Studiorm -rf ~/.lmstudio/extensions If you've updated LM Studiorm -rf ~/.cache/lm-studio/extensions
|
woohoo! that worked for me, thank you @yagil! |
LM Studio: 0.3.6 Got the error: Model details error: Fetch failed Tried the steps in #115 (comment) Still getting the error: Model details error: Fetch failed |
LM Studio 0.3.7 It doesn't matter what I search, I always get 0 results in the Model Search. I tried to delete the .lm-studio folder and every folder related to Lm Studio in AppData, but the problem is still occurring after reinstall. |
Can you please try to download and install 0.3.8 from lmstudio.ai? We just published it and think it'll fix it |
I installed version 0.3.8 and it worked. Thanks @yagil! |
I updated it to 0.3.8 and still cannot search for models. I am using a Windows 11 Pro [OS Name Microsoft Windows 11 Pro for Workstations} One unusual issue I've noticed is that in the Hardware section, no GPU is detected. However, the System Information tool does detect the GPU correctly. I also used NVIDIA's application, and the GPU is recognized there as well. I've attached an image for reference to help illustrate the problem. |
Updated form 0.3.6 to 0.3.8 still cannot search and download the models |
For MacOS, open terminal and enter following:
Then search for files with records of huggingface.co as following:
Replace huggingface.co with hf-mirror.com in each of following files:
|
Thank you xiayu87 |
@santakd I had the same issue and have solved it with the following way.
After that, I got back all functions and were able to search and load models too. When I tried to open the new version just via Finder in the Applications folder to open it by clicking, I still ended up with the issue as you described. The only extra step I did, to be sure, I deleted the ".cache" folder for LMStudio as well, but not sure if this is/was really necessary. |
Alright! This fixed it for me. I can search and download models now. |
Running 15.2 (24C101) Ps: when i did the same as above but tried to reinstall it using the previously downloaded install, it did not work. |
@tojustme @CoCoMilkyWay can you please try these instructions? #256 (comment) |
after turn on the proxy setting in LM studio, it works now. for whatever reason, it may be justified. But it also cost me1 hour just to debug maybe give user a hint when message like this(fetch failed) is shown |
on Version 0.3.9-beta (0.3.9-beta), getting both "Model details error: fetch failed" but also get "Failed to check for update" (quick flash in red) when i trigger this manually. On Apple M1 Pro macOS 15.3. |
@bigleka what happens if you open the GUI and try to search there, does it work or also no? |
Hi @yagil the same error reported for another´s. Turning the Proxy on or off I got the same error. Would be nice if the could down the models manually and move to the LM folder. |
@bigleka you can indeed do this, please see this docs article: https://lmstudio.ai/docs/basics/import-model |
On Version 0.3.9 ,windows 11, getting "Model details error: fetch failed" |
Thanks this works for me. just turn on the proxy |
Thanks! save my whole day! |
看这里!看这里!看这里! MacOS命令行: 进入安装目录 搜索包含huggingface.co的JS文件 得到以下结果 替换域名 重新打开应用 成功! |
同理,Windows系统的文件在:C:\Users\你的用户名\AppData\Local\LM-Studio |
On version 0.3.9, Ubuntu 20.04, turning on the proxy and then restarting LM works. Based on the photo you shared, it seems the search method you're using is for models loaded on your computer. However, if you want to fetch models from huggingface, click the search icon at the bottom of the left sidebar and search there. Hope this helps |
Not sure where to post else, feel free to move this to the right loc.
After a while, I am not sure how long this needs, and if the system sleeping might cause this issue but it happened a few times. LM Studio won't fetch anything anymore, no search results in models or extension and hence no download of aforementioned.
I tried to r
m .cache/
and/or to restart the app. I need to restart entire macOS. This is super annooying.One thing I've noted: When I start LM Studio in such a state, it takes forever to launch and a fraction of a second some error appears on the loading logo with a red button but then disappears again and LM Studio launches.
The text was updated successfully, but these errors were encountered: