{"id":3799,"date":"2026-05-21T19:35:32","date_gmt":"2026-05-21T11:35:32","guid":{"rendered":""},"modified":"2026-05-21T19:35:32","modified_gmt":"2026-05-21T11:35:32","slug":"","status":"publish","type":"post","link":"https:\/\/www.souziyuan.top\/index.php\/archives\/3799","title":{"rendered":"LM Studio v0.3.25-1\u7eff\u8272\u7248"},"content":{"rendered":"<h3>\u8f6f\u4ef6\u4ecb\u7ecd<\/h3>\n<p>LM Studio\u662f\u6b3e\u4e13\u6ce8\u672c\u5730\u5927\u8bed\u8a00\u6a21\u578b\u4ea4\u4e92\u7684\u5de5\u5177\uff0c\u57fa\u4e8ellama.cpp\u6253\u9020\uff0c\u63d0\u4f9b\u56fe\u5f62\u754c\u9762\u3002\u5b83\u652f\u6301\u6a21\u578b\u7ba1\u7406\u3001\u786c\u4ef6\u534f\u540c\u4f18\u5316\u3001\u53c2\u6570\u8c03\u63a7\u7b49\u529f\u80fd\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002\u8f6f\u4ef6\u53ef\u62c9\u53d6\u3001\u5b58\u50a8\u3001\u8fd0\u884cGGUF\u683c\u5f0f\u6a21\u578b\uff0c\u5229\u7528GPU\u5378\u8f7d\u6280\u672f\u548c\u6a21\u578b\u91cf\u5316\u4f18\u5316\u5185\u5b58\u7ba1\u7406\u3002\u7528\u6237\u53ef\u8c03\u53c2\u6570\u5b9a\u5236\u8f93\u51fa\uff0c\u5f3a\u5316\u6587\u672c\u68c0\u7d22\uff0c\u5e76\u5185\u7f6e\u517c\u5bb9OpenAI\u7684\u672c\u5730\u670d\u52a1\u5668\u529f\u80fd\uff0c\u52a9\u529b\u5e94\u7528\u9ad8\u6548\u843d\u5730\u3002<\/p>\n<h3>\u8f6f\u4ef6\u622a\u56fe<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.x6d.com\/uploads\/allimg\/250719\/1752856346885850.png\" title=\"1752856346885850.png\" alt=\"2025-07-19_003105.png\"\/><\/p>\n<h4>\u8f6f\u4ef6\u529f\u80fd<\/h4>\n<p>\u6a21\u578b\u7ba1\u7406\uff1a\u652f\u6301\u4eceHugging Face\u7b49\u8d44\u6e90\u5e93\u4e2d\u62c9\u53d6\u3001\u5b58\u50a8\u3001\u8fd0\u884c\u5404\u7c7bGGUF\u683c\u5f0f\u6a21\u578b\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u8f6f\u4ef6\u5185\u65b9\u4fbf\u5730\u6d4f\u89c8\u3001\u641c\u7d22\u548c\u9009\u62e9\u81ea\u5df1\u9700\u8981\u7684\u6a21\u578b\u3002<\/p>\n<p>\u786c\u4ef6\u534f\u540c\u4f18\u5316\uff1a\u4f9d\u6258llama.cpp\u5e95\u5c42\u67b6\u6784\uff0c\u9488\u5bf9NVIDIA\u7cfb\u5217GPU\u8fd0\u7528GPU\u5378\u8f7d\u6280\u672f\uff0c\u5408\u7406\u5206\u914d\u8fd0\u7b97\u4efb\u52a1\uff0c\u7a81\u7834\u663e\u5b58\u5c40\u9650\uff1b\u5728\u5185\u5b58\u7ba1\u7406\u65b9\u9762\uff0c\u501f\u52a9\u6a21\u578b\u91cf\u5316\u624b\u6bb5\u964d\u4f4e\u5185\u5b58\u5360\u7528\u91cf\uff0c\u786e\u4fdd\u8bbe\u5907\u5185\u5b58\u6709\u9650\u7684\u60c5\u51b5\u4e0b\u4e5f\u80fd\u5e73\u7a33\u52a0\u8f7d\u8fd0\u884c\u5927\u578b\u6a21\u578b\u3002<\/p>\n<p>\u53c2\u6570\u8c03\u63a7\uff1a\u7528\u6237\u53ef\u7075\u6d3b\u8c03\u6574\u201c\u6e29\u5ea6\u201d\u201c\u91cd\u590d\u60e9\u7f5a\u201d\u7b49\u53c2\u6570\uff0c\u7cbe\u51c6\u5b9a\u5236\u6a21\u578b\u8f93\u51fa\u3002\u6bd4\u5982\u201c\u6e29\u5ea6\u201d\u53c2\u6570\u53ef\u8c03\u6574\u8f93\u51fa\u6587\u672c\u7684\u7075\u6d3b\u5ea6\uff0c\u201c\u91cd\u590d\u60e9\u7f5a\u201d\u53c2\u6570\u53ef\u628a\u63a7\u6587\u672c\u591a\u6837\u6027\u3002<\/p>\n<p>\u6587\u672c\u5d4c\u5165\u5f3a\u5316\u68c0\u7d22\uff1a\u501f\u52a9POST\/v1\/embeddings\u7aef\u70b9\u751f\u6210\u6587\u672c\u5d4c\u5165\u5411\u91cf\uff0c\u878d\u5165\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff08RAG\uff09\u67b6\u6784\u4f53\u7cfb\uff0c\u5728\u6d77\u91cf\u6587\u6863\u3001\u77e5\u8bc6\u5e93\u641c\u7d22\u573a\u666f\u8868\u73b0\u5353\u8d8a\u3002<\/p>\n<p>\u5185\u7f6e\u517c\u5bb9OpenAI\u7684\u672c\u5730\u670d\u52a1\u5668\u529f\u80fd\uff1a\u65e0\u7f1d\u8854\u63a5\u65e2\u6709\u57fa\u4e8eOpenAI API\u642d\u5efa\u7684\u5e94\u7528\u4e0e\u672c\u5730\u6a21\u578b\uff0c\u6781\u5927\u7f29\u77ed\u5f00\u53d1\u9002\u914d\u5468\u671f\uff0c\u52a9\u529b\u521b\u65b0\u5e94\u7528\u9ad8\u6548\u843d\u5730\u3002<\/p>\n<div class=\"article-down\" id=\"article-down\">\n<h4>\u4e0b\u8f7d\u5730\u5740<\/h4>\n<div style=\"padding:15px;background:#f5f5f5;border-radius:4px;color:#666;text-align:center;\">\n            \ud83d\udd12 \u5269\u4f59\u5185\u5bb9\u5df2\u9690\u85cf\uff0c\u8bf7<a href=\"javascript:void(0);\" onclick=\"openAeroLoginAndForceRefresh()\" style=\"color:#007bff;text-decoration:underline;cursor:pointer;\">\u70b9\u51fb\u767b\u5f55<\/a>\u540e\u67e5\u770b\u5b8c\u6574\u5185\u5bb9<\/br>(\u5df2\u767b\u5f55\u540e\u8bf7\u5237\u65b0\u9875\u9762)\n        <\/div>\n        <script>\n        function openAeroLoginAndForceRefresh() {\n            \/\/ 1. \u5148\u5524\u8d77\u4e3b\u9898\u7684\u767b\u5f55\u5f39\u7a97\n            document.getElementById(\"login-trigger\").click();\n            \n            \/\/ 2. \u5b9a\u4e49\u767b\u5f55\u6210\u529f\u540e\u7684\u5237\u65b0\u51fd\u6570\uff08\u5e26\u968f\u673a\u53c2\u6570\u5f3a\u5236\u8df3\u8fc7\u7f13\u5b58\uff09\n            function forceRefreshPage() {\n                \/\/ \u6dfb\u52a0\u65f6\u95f4\u6233\u53c2\u6570\uff0c\u5f3a\u5236\u6d4f\u89c8\u5668\u548c\u670d\u52a1\u5668\u91cd\u65b0\u52a0\u8f7d\u9875\u9762\uff0c\u8df3\u8fc7\u6240\u6709\u7f13\u5b58\n                window.location.href = window.location.pathname + \"?t=\" + Date.now() + window.location.hash;\n            }\n            \n            \/\/ 3. \u7b2c\u4e00\u91cd\u68c0\u6d4b\uff1a\u76d1\u542cbody\u7684class\u53d8\u5316\uff08\u6807\u51c6\u60c5\u51b5\uff09\n            const classObserver = new MutationObserver(function(mutations) {\n                mutations.forEach(function(mutation) {\n                    if (mutation.target.classList.contains(\"logged-in\")) {\n                        forceRefreshPage();\n                        classObserver.disconnect();\n                        cookieObserver.disconnect();\n                        modalObserver.disconnect();\n                    }\n                });\n            });\n            \n            classObserver.observe(document.body, {\n                attributes: true,\n                attributeFilter: [\"class\"]\n            });\n            \n            \/\/ 4. \u7b2c\u4e8c\u91cd\u68c0\u6d4b\uff1a\u76d1\u542cWordPress\u767b\u5f55cookie\uff08\u6700\u53ef\u9760\uff09\n            let cookieObserver = setInterval(function() {\n                \/\/ \u68c0\u6d4b\u662f\u5426\u5b58\u5728WordPress\u767b\u5f55cookie\n                if (document.cookie.indexOf(\"wordpress_logged_in_\") !== -1) {\n                    forceRefreshPage();\n                    clearInterval(cookieObserver);\n                    classObserver.disconnect();\n                    modalObserver.disconnect();\n                }\n            }, 500); \/\/ \u6bcf500\u6beb\u79d2\u68c0\u6d4b\u4e00\u6b21\n            \n            \/\/ 5. \u7b2c\u4e09\u91cd\u68c0\u6d4b\uff1a\u76d1\u542c\u767b\u5f55\u5f39\u7a97\u5173\u95ed\u4e8b\u4ef6\uff08\u515c\u5e95\uff09\n            const modalObserver = new MutationObserver(function(mutations) {\n                mutations.forEach(function(mutation) {\n                    \/\/ \u68c0\u6d4b\u767b\u5f55\u5f39\u7a97\u662f\u5426\u88ab\u9690\u85cf\n                    const loginModal = document.getElementById(\"login-modal\");\n                    if (loginModal && window.getComputedStyle(loginModal).display === \"none\") {\n                        \/\/ \u5f39\u7a97\u5173\u95ed\u540e\u5ef6\u8fdf1\u79d2\u518d\u68c0\u6d4bcookie\uff0c\u9632\u6b62\u767b\u5f55\u8fd8\u6ca1\u5b8c\u6210\n                        setTimeout(function() {\n                            if (document.cookie.indexOf(\"wordpress_logged_in_\") !== -1) {\n                                forceRefreshPage();\n                            }\n                        }, 1000);\n                        modalObserver.disconnect();\n                    }\n                });\n            });\n            \n            \/\/ \u76d1\u542c\u767b\u5f55\u5f39\u7a97\u7684\u663e\u793a\u72b6\u6001\u53d8\u5316\n            const loginModal = document.getElementById(\"login-modal\");\n            if (loginModal) {\n                modalObserver.observe(loginModal, {\n                    attributes: true,\n                    attributeFilter: [\"style\", \"class\"]\n                });\n            }\n            \n            \/\/ 6. 15\u79d2\u540e\u81ea\u52a8\u505c\u6b62\u6240\u6709\u68c0\u6d4b\uff0c\u9632\u6b62\u5185\u5b58\u6cc4\u6f0f\n            setTimeout(function() {\n                classObserver.disconnect();\n                clearInterval(cookieObserver);\n                modalObserver.disconnect();\n            }, 15000);\n        }\n        <\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6f\u4ef6\u4ecb\u7ecd LM Studio\u662f\u6b3e\u4e13\u6ce8\u672c\u5730\u5927\u8bed\u8a00\u6a21\u578b\u4ea4\u4e92\u7684\u5de5\u5177\uff0c\u57fa\u4e8ellama.cpp\u6253\u9020\uff0c\u63d0\u4f9b\u56fe\u5f62\u754c\u9762\u3002\u5b83\u652f\u6301 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-3799","post","type-post","status-publish","format-standard","hentry","category-winruanjian"],"_links":{"self":[{"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/posts\/3799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/comments?post=3799"}],"version-history":[{"count":0,"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/posts\/3799\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/media?parent=3799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/categories?post=3799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.souziyuan.top\/index.php\/wp-json\/wp\/v2\/tags?post=3799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}