{"id":56961,"date":"2025-08-15T01:54:46","date_gmt":"2025-08-14T17:54:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/56961.html"},"modified":"2025-08-15T01:54:46","modified_gmt":"2025-08-14T17:54:46","slug":"%e5%9c%a8%e6%97%a0%e5%9b%be%e5%bd%a2%e7%95%8c%e9%9d%a2%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e8%bf%90%e8%a1%8c-lm-studio","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/56961.html","title":{"rendered":"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio"},"content":{"rendered":"<hr \/>\n<h2>\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio<\/h2>\n<p>LM Studio \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u672c\u5730\u5927\u6a21\u578b\u7ba1\u7406\u548c\u8fd0\u884c\u5de5\u5177&#xff0c;\u4f46\u5b83\u672c\u8eab\u662f\u4e00\u4e2a\u56fe\u5f62\u5316&#xff08;GUI&#xff09;\u5e94\u7528\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u53ea\u6709\u547d\u4ee4\u884c\u7684\u65e0\u5934&#xff08;Headless&#xff09;\u670d\u52a1\u5668\u4e0a&#xff0c;\u901a\u8fc7\u4e00\u4e9b\u6280\u5de7\u6210\u529f\u8fd0\u884c LM Studio \u5e76\u4f7f\u7528\u5176\u547d\u4ee4\u884c\u5de5\u5177&#xff08;CLI&#xff09;\u8fdb\u884c\u6a21\u578b\u7684\u4e0b\u8f7d\u3001\u52a0\u8f7d\u548c\u4ea4\u4e92\u3002<\/p>\n<p>\u5b98\u65b9\u7f51\u7ad9: https:\/\/lmstudio.ai\/<\/p>\n<h3>\u7b2c\u4e00\u6b65&#xff1a;\u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5<\/h3>\n<p>\u9996\u5148&#xff0c;\u9700\u8981\u5b89\u88c5 LM Studio \u8fd0\u884c\u6240\u9700\u7684\u4f9d\u8d56\u5e93\u3002\u8fd9\u4e9b\u5e93\u4e3b\u8981\u7528\u4e8e\u652f\u6301\u5176\u5e95\u5c42\u7684 AppImage \u5e94\u7528\u4ee5\u53ca\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u663e\u793a\u73af\u5883\u6765\u201c\u9a97\u8fc7\u201dGUI\u68c0\u6d4b\u3002<\/p>\n<p><span class=\"token comment\"># \u66f4\u65b0\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u5217\u8868<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libfuse2 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    xvfb <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libatk1.0-0 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libatk-bridge2.0-0 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libgtk-3-0 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libnss3 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libcups2 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libxss1 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libgdk-pixbuf2.0-0 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libasound2 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    libasound2t64 <span class=\"token punctuation\">\\\\<\/span><br \/>\n    nodejs <span class=\"token punctuation\">\\\\<\/span><br \/>\n    <span class=\"token function\">npm<\/span><\/p>\n<h3>\u7b2c\u4e8c\u6b65&#xff1a;\u4e0b\u8f7d\u5e76\u8fd0\u884c LM Studio \u4e3b\u7a0b\u5e8f<\/h3>\n<p>\u7531\u4e8e\u670d\u52a1\u5668\u6ca1\u6709\u56fe\u5f62\u754c\u9762&#xff0c;\u9700\u8981\u542f\u52a8\u4e00\u4e2a\u865a\u62df\u7684 X Server \u663e\u793a\u73af\u5883&#xff08;Xvfb&#xff09;&#xff0c;\u5e76\u5c06 LM Studio \u5e94\u7528\u6307\u5411\u8fd9\u4e2a\u865a\u62df\u5c4f\u5e55\u3002<\/p>\n<li>\u4e0b\u8f7d LM Studio \u7684 AppImage \u6587\u4ef6 \u6ce8\u610f&#xff1a;\u8bf7\u6839\u636e\u9700\u8981\u4ece\u5b98\u7f51\u83b7\u53d6\u6700\u65b0\u7684\u7248\u672c\u94fe\u63a5&#xff0c;\u6b64\u5904\u4ee5 0.3.14-5 \u4e3a\u4f8b\u3002<\/li>\n<p><span class=\"token function\">wget<\/span> https:\/\/installers.lmstudio.ai\/linux\/x64\/0.3.14-5\/LM-Studio-0.3.14-5-x64.AppImage<\/p>\n<li>\u8d4b\u4e88\u6587\u4ef6\u6267\u884c\u6743\u9650<\/li>\n<p><span class=\"token function\">chmod<\/span> &#043;x LM-Studio-0.3.14-5-x64.AppImage<\/p>\n<li>\u542f\u52a8\u865a\u62df\u5c4f\u5e55 \u8fd9\u6761\u547d\u4ee4\u4f1a\u5728\u540e\u53f0\u542f\u52a8\u4e00\u4e2a\u7f16\u53f7\u4e3a :1 \u7684\u865a\u62df\u5c4f\u5e55&#xff0c;\u5206\u8fa8\u7387\u4e3a 1024&#215;768\u3002<\/li>\n<p>Xvfb :1 <span class=\"token parameter variable\">-screen<\/span> <span class=\"token number\">0<\/span> 1024x768x16 <span class=\"token operator\">&amp;<\/span><\/p>\n<li>\u5728\u865a\u62df\u5c4f\u5e55\u4e0a\u8fd0\u884c LM Studio \u4e3a\u4e86\u8ba9\u540e\u7eed\u7684\u547d\u4ee4\u884c\u5de5\u5177\u80fd\u591f\u8fde\u63a5&#xff0c;\u5fc5\u987b\u5148\u5c06 LM Studio \u7684\u4e3b\u7a0b\u5e8f\u4f5c\u4e3a\u540e\u53f0\u670d\u52a1\u8fd0\u884c\u8d77\u6765\u3002<\/li>\n<ul>\n<li>\n<p>\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ec8\u7aef\u4f1a\u8bdd \u6216\u4f7f\u7528 screen\/tmux\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bfc\u5165\u865a\u62df\u5c4f\u5e55\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u544a\u77e5\u540e\u7eed\u7a0b\u5e8f\u5728\u54ea\u4e2a\u5c4f\u5e55\u4e0a\u8fd0\u884c\u3002<\/p>\n<p> <span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\"><span class=\"token environment constant\">DISPLAY<\/span><\/span><span class=\"token operator\">&#061;<\/span>:1\n <\/li>\n<li>\n<p>\u5728\u540e\u53f0\u542f\u52a8 LM Studio \u4e3b\u7a0b\u5e8f\u3002&#8211;no-sandbox \u53c2\u6570\u7528\u4e8e\u89e3\u51b3\u5728\u67d0\u4e9b\u73af\u5883\u4e0b\u53ef\u80fd\u51fa\u73b0\u7684\u6743\u9650\u95ee\u9898\u3002<\/p>\n<p> .\/LM-Studio-0.3.14-5-x64.AppImage &#8211;no-sandbox <span class=\"token operator\">&amp;<\/span>\n <\/li>\n<\/ul>\n<p>\u81f3\u6b64&#xff0c;LM Studio \u7684\u6838\u5fc3\u670d\u52a1\u5df2\u7ecf\u5728\u540e\u53f0\u6210\u529f\u8fd0\u884c\u3002<\/p>\n<h3>\u7b2c\u4e09\u6b65&#xff1a;\u5b89\u88c5\u4e0e\u914d\u7f6e lms \u547d\u4ee4\u884c\u5de5\u5177<\/h3>\n<p>LM Studio \u5185\u7f6e\u4e86\u4e00\u4e2a\u540d\u4e3a lms \u7684\u547d\u4ee4\u884c\u5de5\u5177&#xff0c;\u7528\u4e8e\u63a7\u5236\u540e\u53f0\u7684\u4e3b\u7a0b\u5e8f\u3002<\/p>\n<p>\u5b98\u65b9\u6587\u6863: https:\/\/lmstudio.ai\/docs\/cli<\/p>\n<h4>lms&#xff1a;\u4e00\u4e2a\u63a7\u5236\u5668<\/h4>\n<p>\u6700\u91cd\u8981\u7684\u4e00\u70b9\u662f&#xff1a;lms \u5de5\u5177\u672c\u8eab\u4e0d\u76f4\u63a5\u5904\u7406\u6a21\u578b&#xff0c;\u5b83\u662f\u4e00\u4e2a\u63a7\u5236\u5668\u3002\u5fc5\u987b\u5148\u786e\u4fdd LM Studio \u4e3b\u7a0b\u5e8f\u5df2\u5728\u540e\u53f0\u8fd0\u884c&#xff0c;lms \u624d\u80fd\u8fde\u63a5\u5e76\u63a7\u5236\u5b83\u3002<\/p>\n<li>\u5b89\u88c5 lms \u5230\u7cfb\u7edf\u8def\u5f84 LM Studio \u5df2\u7ecf\u5185\u7f6e\u4e86 lms&#xff0c;\u53ea\u9700\u8fd0\u884c\u4e00\u4e2a\u5f15\u5bfc\u547d\u4ee4&#xff0c;\u5373\u53ef\u5c06\u5176\u94fe\u63a5\u5230\u7cfb\u7edf\u8def\u5f84\u4e0b&#xff0c;\u65b9\u4fbf\u5168\u5c40\u8c03\u7528\u3002<\/li>\n<p>~\/.lmstudio\/bin\/lms bootstrap<\/p>\n<li>\u9a8c\u8bc1\u5b89\u88c5 \u5fc5\u987b\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ec8\u7aef\u7a97\u53e3\/SSH\u4f1a\u8bdd&#xff0c;\u6216\u8005\u8fd0\u884c source ~\/.bashrc (\u6216 source ~\/.zshrc) \u6765\u5237\u65b0\u73af\u5883\u3002\u7136\u540e\u8fd0\u884c&#xff1a;<\/li>\n<p>lms<\/p>\n<p>\u5982\u679c\u770b\u5230 lms \u7684\u5e2e\u52a9\u4fe1\u606f&#xff0c;\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002\u4f7f\u7528 lms status \u53ef\u4ee5\u68c0\u67e5 CLI \u4e0e\u540e\u53f0\u670d\u52a1\u7684\u8fde\u63a5\u72b6\u6001\u3002<\/p>\n<p>lms status<\/p>\n<h3>\u7b2c\u56db\u6b65&#xff1a;\u6838\u5fc3\u5de5\u4f5c\u6d41\u7a0b&#xff1a;\u4f7f\u7528 lms \u7ba1\u7406\u6a21\u578b<\/h3>\n<p>\u4ee5\u4e0b\u662f\u5728\u547d\u4ee4\u884c\u4e2d\u4ece\u96f6\u5f00\u59cb\u8fd0\u884c\u4e00\u4e2a\u6a21\u578b\u7684\u6838\u5fc3\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u641c\u7d22\u5e76\u4e0b\u8f7d\u6a21\u578b \u4f7f\u7528 lms get \u547d\u4ee4\u53ef\u4ee5\u4ece Hugging Face Hub \u641c\u7d22\u5e76\u4e0b\u8f7d\u6a21\u578b\u3002<\/li>\n<p><span class=\"token comment\"># 1. \u641c\u7d22\u6a21\u578b&#xff0c;\u627e\u5230\u5b83\u7684\u6807\u8bc6\u7b26 (Identifier)<\/span><br \/>\n<span class=\"token comment\"># \u4f8b\u5982&#xff0c;\u641c\u7d22 &#034;Mistral 7B Instruct GGUF&#034;<\/span><br \/>\nlms get <span class=\"token string\">&#034;Mistral 7B Instruct GGUF&#034;<\/span><\/p>\n<p><span class=\"token comment\"># 2. \u4f7f\u7528\u5b8c\u6574\u7684\u6807\u8bc6\u7b26\u4e0b\u8f7d\u6307\u5b9a\u6a21\u578b<\/span><br \/>\n<span class=\"token comment\"># \u4f8b\u5982&#xff0c;\u4e0b\u8f7d TheBloke \u7684 Mistral-7B-Instruct GGUF \u683c\u5f0f\u6a21\u578b<\/span><br \/>\nlms get <span class=\"token string\">&#034;TheBloke\/Mistral-7B-Instruct-v0.2-GGUF&#034;<\/span><\/p>\n<li>\u67e5\u770b\u5df2\u4e0b\u8f7d\u7684\u6a21\u578b \u4f7f\u7528 lms ls (ls &#061; list) \u547d\u4ee4&#xff0c;\u67e5\u770b\u672c\u5730\u6240\u6709\u53ef\u7528\u7684\u6a21\u578b&#xff0c;\u5e76\u83b7\u53d6\u52a0\u8f7d\u6a21\u578b\u65f6\u9700\u8981\u4f7f\u7528\u7684\u5b8c\u6574\u8def\u5f84\u3002<\/li>\n<p>lms <span class=\"token function\">ls<\/span><\/p>\n<li>\u52a0\u8f7d\u6a21\u578b \u8fd9\u662f\u6700\u5173\u952e\u7684\u4e00\u6b65\u3002\u4f7f\u7528 lms load \u547d\u4ee4\u5c06\u6307\u5b9a\u7684\u6a21\u578b\u6587\u4ef6\u52a0\u8f7d\u5230\u5185\u5b58\u6216\u663e\u5b58\u4e2d\u3002<\/li>\n<p><span class=\"token comment\"># \u57fa\u672c\u52a0\u8f7d (\u8bf7\u5c06\u8def\u5f84\u66ff\u6362\u4e3a &#096;lms ls&#096; \u8f93\u51fa\u7684\u5b9e\u9645\u8def\u5f84)<\/span><br \/>\nlms load <span class=\"token string\">&#034;TheBloke\/Mistral-7B-Instruct-v0.2-GGUF\/mistral-7b-instruct-v0.2.Q4_K_M.gguf&#034;<\/span><\/p>\n<p>\u9ad8\u7ea7\u9009\u9879&#xff08;\u975e\u5e38\u6709\u7528&#xff09;&#xff1a;<\/p>\n<ul>\n<li>GPU \u52a0\u901f&#xff1a;\u4f7f\u7528 &#8211;gpu \u53c2\u6570\u3002max \u8868\u793a\u5c1d\u8bd5\u5c06\u6240\u6709\u5c42\u90fd\u5378\u8f7d\u5230 GPU\u3002<\/li>\n<li>\u81ea\u5b9a\u4e49\u522b\u540d&#xff1a;\u4f7f\u7528 &#8211;identifier \u4e3a\u6a21\u578b\u8bbe\u7f6e\u4e00\u4e2a\u7b80\u77ed\u3001\u597d\u8bb0\u7684\u522b\u540d&#xff0c;\u65b9\u4fbf\u540e\u7eed\u8c03\u7528\u3002<\/li>\n<\/ul>\n<p>\u7ec4\u5408\u793a\u4f8b&#xff1a;<\/p>\n<p>lms load <span class=\"token string\">&#034;TheBloke\/Mistral-7B-Instruct-v0.2-GGUF\/mistral-7b-instruct-v0.2.Q4_K_M.gguf&#034;<\/span> <span class=\"token parameter variable\">&#8211;gpu<\/span><span class=\"token operator\">&#061;<\/span>max <span class=\"token parameter variable\">&#8211;identifier<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;model&#034;<\/span><\/p>\n<li>\u786e\u8ba4\u6a21\u578b\u5df2\u52a0\u8f7d \u4f7f\u7528 lms ps (ps &#061; processes) \u547d\u4ee4&#xff0c;\u67e5\u770b\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u6a21\u578b\u3002<\/li>\n<p>lms <span class=\"token function\">ps<\/span><\/p>\n<p>\u6b64\u65f6\u5e94\u8be5\u80fd\u770b\u5230\u522b\u540d\u4e3a my-mistral \u7684\u6a21\u578b\u6b63\u5728\u8fd0\u884c\u3002<\/p>\n<h3>\u7b2c\u4e94\u6b65&#xff1a;\u4e0e\u6a21\u578b\u4ea4\u4e92<\/h3>\n<p>\u6a21\u578b\u52a0\u8f7d\u540e&#xff0c;\u6709\u4e24\u79cd\u4e3b\u8981\u65b9\u5f0f\u4e0e\u5176\u4e92\u52a8\u3002<\/p>\n<h4>\u65b9\u6cd5\u4e00&#xff1a;\u76f4\u63a5\u5728\u7ec8\u7aef\u5bf9\u8bdd (CLI Chat)<\/h4>\n<p>\u4f7f\u7528 lms chat \u547d\u4ee4&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u5728\u7ec8\u7aef\u91cc\u5f00\u59cb\u5bf9\u8bdd\u3002<\/p>\n<p><span class=\"token comment\"># &#8211;model \u53c2\u6570\u6307\u5b9a\u8981\u5bf9\u8bdd\u7684\u6a21\u578b\u522b\u540d<\/span><br \/>\nlms chat <span class=\"token parameter variable\">&#8211;model<\/span> <span class=\"token string\">&#034;my-mistral&#034;<\/span><\/p>\n<p>\u4e4b\u540e\u5c31\u53ef\u4ee5\u8f93\u5165\u6587\u672c\u5e76\u770b\u5230\u6a21\u578b\u56de\u590d\u4e86\u3002\u6309 Ctrl&#043;C \u9000\u51fa\u5bf9\u8bdd\u6a21\u5f0f\u3002<\/p>\n<h4>\u65b9\u6cd5\u4e8c&#xff1a;\u542f\u52a8 API \u670d\u52a1\u5668<\/h4>\n<p>\u82e5\u8981\u8ba9\u5176\u4ed6\u4ee3\u7801\u6216\u5e94\u7528\u6765\u8c03\u7528\u6a21\u578b&#xff0c;\u53ef\u4ee5\u542f\u52a8\u4e00\u4e2a\u517c\u5bb9 OpenAI \u89c4\u8303\u7684 API \u670d\u52a1\u5668\u3002<\/p>\n<li>\u542f\u52a8\u670d\u52a1\u5668&#xff1a;<\/li>\n<p>lms server start<\/p>\n<p>\u670d\u52a1\u5668\u9ed8\u8ba4\u76d1\u542c\u5728 1234 \u7aef\u53e3\u3002<\/p>\n<li>\u5728\u53e6\u4e00\u4e2a\u7ec8\u7aef\u4e2d\u4f7f\u7528 curl \u8c03\u7528&#xff1a; \u6ce8\u610f model \u5b57\u6bb5\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u4e4b\u524d\u8bbe\u7f6e\u7684\u522b\u540d my-mistral\u3002<\/li>\n<p><span class=\"token function\">curl<\/span> http:\/\/localhost:1234\/v1\/chat\/completions <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-H<\/span> <span class=\"token string\">&#034;Content-Type: application\/json&#034;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-d<\/span> <span class=\"token string\">&#039;{<br \/>\n  &#034;model&#034;: &#034;my-mistral&#034;,<br \/>\n  &#034;messages&#034;: [<br \/>\n    { &#034;role&#034;: &#034;user&#034;, &#034;content&#034;: &#034;\u4f60\u597d&#xff0c;\u8bf7\u4ecb\u7ecd\u4e00\u4e0b\u4f60\u81ea\u5df1&#034; }<br \/>\n  ],<br \/>\n  &#034;temperature&#034;: 0.7<br \/>\n}&#039;<\/span><\/p>\n<h3>\u7b2c\u516d\u6b65&#xff1a;\u6e05\u7406\u4e0e\u505c\u6b62<\/h3>\n<ul>\n<li>\n<p>\u5378\u8f7d\u6a21\u578b&#xff1a;\u5f53\u4e0d\u518d\u9700\u8981\u67d0\u4e2a\u6a21\u578b\u65f6&#xff0c;\u53ef\u4ee5\u5c06\u5176\u4ece\u5185\u5b58\u4e2d\u5378\u8f7d\u4ee5\u91ca\u653e\u8d44\u6e90\u3002<\/p>\n<p> <span class=\"token comment\"># \u5378\u8f7d\u6307\u5b9a\u522b\u540d\u7684\u6a21\u578b<\/span><br \/>\nlms unload <span class=\"token string\">&#034;my-mistral&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u5378\u8f7d\u6240\u6709\u5df2\u52a0\u8f7d\u7684\u6a21\u578b<\/span><br \/>\nlms unload <span class=\"token parameter variable\">&#8211;all<\/span>\n <\/li>\n<li>\n<p>\u505c\u6b62 API \u670d\u52a1\u5668&#xff1a;<\/p>\n<p> lms server stop\n <\/li>\n<li>\n<p>\u67e5\u770b\u72b6\u6001&#xff1a;\u53ef\u4ee5\u968f\u65f6\u4f7f\u7528 lms status \u68c0\u67e5\u670d\u52a1\u5668\u548c\u6a21\u578b\u7684\u6574\u4f53\u72b6\u6001\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<p>\u6ce8\u610f\u5982\u679c\u60f3\u5728\u6307\u5b9a\u7aef\u53e3\u8fd0\u884capi server\u670d\u52a1\u53ef\u4ee5\u589e\u52a0 &#8211;port\u53c2\u6570<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb892\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf16\u6b21\u3002LM Studio \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u672c\u5730\u5927\u6a21\u578b\u7ba1\u7406\u548c\u8fd0\u884c\u5de5\u5177\uff0c\u4f46\u5b83\u672c\u8eab\u662f\u4e00\u4e2a\u56fe\u5f62\u5316\uff08GUI\uff09\u5e94\u7528\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u53ea\u6709\u547d\u4ee4\u884c\u7684\u65e0\u5934\uff08Headless\uff09\u670d\u52a1\u5668\u4e0a\uff0c\u901a\u8fc7\u4e00\u4e9b\u6280\u5de7\u6210\u529f\u8fd0\u884c LM Studio \u5e76\u4f7f\u7528\u5176\u547d\u4ee4\u884c\u5de5\u5177\uff08CLI\uff09\u8fdb\u884c\u6a21\u578b\u7684\u4e0b\u8f7d\u3001\u52a0\u8f7d\u548c\u4ea4\u4e92\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,75,50,43,44],"topic":[],"class_list":["post-56961","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-llm","tag-50","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/56961.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb892\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf16\u6b21\u3002LM Studio \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u672c\u5730\u5927\u6a21\u578b\u7ba1\u7406\u548c\u8fd0\u884c\u5de5\u5177\uff0c\u4f46\u5b83\u672c\u8eab\u662f\u4e00\u4e2a\u56fe\u5f62\u5316\uff08GUI\uff09\u5e94\u7528\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u53ea\u6709\u547d\u4ee4\u884c\u7684\u65e0\u5934\uff08Headless\uff09\u670d\u52a1\u5668\u4e0a\uff0c\u901a\u8fc7\u4e00\u4e9b\u6280\u5de7\u6210\u529f\u8fd0\u884c LM Studio \u5e76\u4f7f\u7528\u5176\u547d\u4ee4\u884c\u5de5\u5177\uff08CLI\uff09\u8fdb\u884c\u6a21\u578b\u7684\u4e0b\u8f7d\u3001\u52a0\u8f7d\u548c\u4ea4\u4e92\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/56961.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-14T17:54:46+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/56961.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/56961.html\",\"name\":\"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-14T17:54:46+00:00\",\"dateModified\":\"2025-08-14T17:54:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/56961.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/56961.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/56961.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/56961.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb892\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf16\u6b21\u3002LM Studio \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u672c\u5730\u5927\u6a21\u578b\u7ba1\u7406\u548c\u8fd0\u884c\u5de5\u5177\uff0c\u4f46\u5b83\u672c\u8eab\u662f\u4e00\u4e2a\u56fe\u5f62\u5316\uff08GUI\uff09\u5e94\u7528\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u53ea\u6709\u547d\u4ee4\u884c\u7684\u65e0\u5934\uff08Headless\uff09\u670d\u52a1\u5668\u4e0a\uff0c\u901a\u8fc7\u4e00\u4e9b\u6280\u5de7\u6210\u529f\u8fd0\u884c LM Studio \u5e76\u4f7f\u7528\u5176\u547d\u4ee4\u884c\u5de5\u5177\uff08CLI\uff09\u8fdb\u884c\u6a21\u578b\u7684\u4e0b\u8f7d\u3001\u52a0\u8f7d\u548c\u4ea4\u4e92\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/56961.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-14T17:54:46+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/56961.html","url":"https:\/\/www.wsisp.com\/helps\/56961.html","name":"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-14T17:54:46+00:00","dateModified":"2025-08-14T17:54:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/56961.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/56961.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/56961.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728\u65e0\u56fe\u5f62\u754c\u9762\u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c LM Studio"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/56961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=56961"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/56961\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=56961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=56961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=56961"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=56961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}