LM Studio使用笔记

2025-02-26  本文已影响0人  杨晓凯

运行环境: Ubuntu linux
软件下载: https://lmstudio.ai/
问题:

  1. 运行错误
    [64834:0227/100136.017902:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_LM-StuNQDXeb/chrome-sandbox is owned by root and has mode 4755.
    初步解决方案:
    临时禁用沙箱
    ./LM-Studio-0.3.9-6-x64.AppImage --no-sandbox

  2. 无法下载模型
    主要问题是huggingface.co无法访问,需要采用国内镜像

解决方案:
1)解开AppImage
./LM-Studio-0.3.9-6-x64.AppImage --appimage-extract

  1. 替换设置文件中所有huggingface.co为hf-mirror.com
    cd squashfs-root/resources/app/.webpack/main/
    find ./ -type f -exec sed -i 's/huggingface.co/hf-mirror.com/g' {} +
  2. 运行程序
    cd squashfs-root/
    ./AppRun

参考:
https://www.cnblogs.com/hencins/p/14446164.html

上一篇 下一篇

猜你喜欢

热点阅读