-
Notifications
You must be signed in to change notification settings - Fork 34
How to set up a network proxy in a configuration file #18
Comments
@anuxs we are actively investigating this. It would be really helpful to be able to send you a beta build to test a few options to fix this issue. If you're open to it, would you mind emailing [email protected]? Thank you in advance! |
Hello! I had a similar problem with a computer behind a proxy server. Is any idea how resolve this problem? |
Same here. Launching lmstudio with those proxy configurations: reports: |
Mac下可以直接修改model-catalog.json的downloadUrl 为镜像地址可以正常下载,具体文件位置Mac下在 ~/Library/Application Support/LM Studio/,windows上可能在C:\Users<you>\AppData\Local<Your App Name>,windows 我没有验证,大家自行摸索一下;需要注意的是,应用关闭后重新打开是会重新下载这个文件,修改会被覆盖,需要重新替换... |
proxychains -lv "%USERPROFILE%\AppData\Local\LM-Studio\LM Studio.exe" it's work for me , windows11 |
it reports below error message on my laptop (windwos 10)
|
sorry my bad, proxychains -lv "%USERPROFILE%\AppData\Local\LM-Studio\app-0.2.16\LM Studio.exe" should care about folder name everytime when update. |
model-catalog.json在什么位置呀,LM Studio下没找到对应文件呢,我Mac |
感谢,在 Win10 系统下测试成功 这里手动指定了配置文件的路径,LM Studio 版本为 0.2.20 |
Also works for Win 11 23H2 |
It works with macos, replace huggingface.co to hf-mirror.com with vim in model-catalog.json of ~/Library/Application\ Support/LM\ Studio, then clear your tasks and restart LM studio |
目前最新版本(版本0.2.24)这样修改已经没用了,模型下载地址 "https://huggingface.co/" 已经写入到了程序里面。不过程序是用electron+webpack开发,安装后的程序文件在 "/Applications/LM\ Studio.app/Contents/Resources/app/.webpack" 路径下,可以在此文件夹搜索 "https://huggingface.co" ,然后批量替换为 "https://hf-mirror.com" |
运行前需要清理一下~/Library/Application Support/LM Studio里旧数据文件 |
win下修改后清理 |
STILL got network issue in Win11. I downloaded proxychains for win, update the conf file for my local socks5 proxy. After run the command, I can see the app log and got network issue for searching the models. Is that mean 0.2.25 version can't consume the Win11 system proxy for all its network connections? Any other approach can solve the network issue to huggingface.co? |
windows see: work for me |
按这个可以下载,但搜索还是搜索不出来,环境mac |
0.2.x版本好像可以。有可能用的搜索api在镜像里面可能不可用 |
I'm behind a vpn and I can't download any LLama model via LM and the network times out.
But if I paste the downloaded URL into the browser, it can be downloaded.
The LM is apparently requesting the network directly, without using the system network proxy setup
I use windows 11.
The text was updated successfully, but these errors were encountered: