{"id":165,"date":"2026-10-20T12:04:19","date_gmt":"2026-10-20T04:04:19","guid":{"rendered":"http:\/\/laoke.pw\/?p=165"},"modified":"2026-10-20T12:04:19","modified_gmt":"2026-10-20T04:04:19","slug":"127-lm-studio-%e5%9c%a8%e8%87%aa%e5%b7%b1%e7%94%b5%e8%84%91%e4%b8%8a%e8%b7%91%e5%a4%a7%e6%a8%a1%e5%9e%8b%ef%bc%8c%e6%96%ad%e7%bd%91%e4%b9%9f%e8%83%bd%e7%94%a8","status":"publish","type":"post","link":"https:\/\/laoke.pw\/?p=165","title":{"rendered":"127 LM Studio \u2014\u2014 \u5728\u81ea\u5df1\u7535\u8111\u4e0a\u8dd1\u5927\u6a21\u578b\uff0c\u65ad\u7f51\u4e5f\u80fd\u7528"},"content":{"rendered":"<p><strong>\u4e00\u53e5\u8bdd\u5b9a\u4f4d<\/strong>\uff1aLM Studio \u662f\u4e00\u4e2a\u628a\u5f00\u6e90\u5927\u6a21\u578b\u300c\u4e0b\u8f7d\u2014\u52a0\u8f7d\u2014\u5bf9\u8bdd\u300d\u4e09\u6b65\u6253\u5305\u597d\u7684\u684c\u9762\u5ba2\u6237\u7aef\uff0c\u4e0d\u5199\u4e00\u884c\u4ee3\u7801\u4e5f\u80fd\u5728\u672c\u673a\u8dd1\u8d77\u6765\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u9700\u8981\u5b83<\/h2>\n<p>\u5728\u7ebf\u5927\u6a21\u578b\u7684\u4f53\u9a8c\u5df2\u7ecf\u5f88\u987a\uff0c\u4f46\u6709\u4e09\u4ef6\u4e8b\u4e00\u76f4\u8ba9\u4eba\u72b9\u8c6b\uff1a\u628a\u5408\u540c\u3001\u75c5\u5386\u3001\u5185\u90e8\u6587\u6863\u7c98\u8fdb\u5bf9\u8bdd\u6846\uff0c\u5fc3\u91cc\u603b\u4e0d\u8e0f\u5b9e\uff1b\u65ad\u7f51\u3001\u9650\u6d41\u3001\u6da8\u4ef7\u7684\u65f6\u5019\uff0c\u624b\u4e0a\u7684\u6d3b\u5c31\u5361\u4f4f\u4e86\uff1b\u540c\u4e00\u4e2a\u95ee\u9898\u53cd\u590d\u95ee\uff0c\u989d\u5ea6\u6d88\u8017\u5f97\u6bd4\u60f3\u8c61\u4e2d\u5feb\u3002<\/p>\n<p>\u672c\u5730\u90e8\u7f72\u542c\u8d77\u6765\u662f\u89e3\u6cd5\uff0c\u53ef\u771f\u52a8\u624b\u65f6\uff0c\u5148\u8981\u88c5 Python\u3001\u914d\u73af\u5883\u3001\u62c9\u6743\u91cd\u3001\u5199\u63a8\u7406\u811a\u672c\uff0c\u5149\u662f CUDA \u7248\u672c\u5bf9\u4e0d\u4e0a\u5c31\u80fd\u8017\u6389\u4e00\u4e2a\u4e0b\u5348\u3002LM Studio \u8981\u89e3\u51b3\u7684\u5c31\u662f\u8fd9\u6bb5\u6700\u529d\u9000\u7684\u8def\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li><strong>\u5185\u7f6e\u6a21\u578b\u76ee\u5f55<\/strong>\uff1a\u641c\u7d22\u6846\u91cc\u8f93\u5165\u6a21\u578b\u540d\uff0c\u76f4\u63a5\u770b\u5230\u53c2\u6570\u91cf\u3001\u91cf\u5316\u7b49\u7ea7\u3001\u6587\u4ef6\u5927\u5c0f\u548c\u4e0b\u8f7d\u91cf\uff0c\u70b9\u4e00\u4e0b\u5f00\u59cb\u4e0b\u3002<\/li>\n<li><strong>\u786c\u4ef6\u81ea\u52a8\u8bc4\u4f30<\/strong>\uff1a\u4e0b\u8f7d\u524d\u63d0\u793a\u8fd9\u5757\u663e\u5361\u6216\u5185\u5b58\u80fd\u4e0d\u80fd\u8dd1\u3001\u5927\u6982\u591a\u5feb\uff0c\u907f\u514d\u4e0b\u5b8c 20GB \u624d\u53d1\u73b0\u663e\u5b58\u4e0d\u591f\u3002<\/li>\n<li><strong>\u4e00\u952e\u52a0\u8f7d\u4e0e\u53c2\u6570\u9762\u677f<\/strong>\uff1a\u4e0a\u4e0b\u6587\u957f\u5ea6\u3001GPU \u5378\u8f7d\u5c42\u6570\u3001\u6e29\u5ea6\u90fd\u5728\u53f3\u4fa7\u62d6\u6ed1\u5757\u8c03\u6574\uff0c\u4e0d\u7528\u6539\u914d\u7f6e\u6587\u4ef6\u3002<\/li>\n<li><strong>\u517c\u5bb9 OpenAI \u63a5\u53e3<\/strong>\uff1a\u672c\u5730\u8d77\u4e00\u4e2a <code>http:\/\/localhost:1234\/v1<\/code> \u670d\u52a1\uff0c\u73b0\u6709\u4ee3\u7801\u628a base_url \u6362\u6389\u5c31\u80fd\u63a5\u3002<\/li>\n<li><strong>\u6587\u6863\u5bf9\u8bdd<\/strong>\uff1a\u628a PDF\u3001Word \u62d6\u8fdb\u53bb\uff0c\u6a21\u578b\u57fa\u4e8e\u6587\u4ef6\u5185\u5bb9\u56de\u7b54\uff0c\u5168\u7a0b\u4e0d\u51fa\u672c\u673a\u3002<\/li>\n<\/ul>\n<h2>\u5b9e\u6d4b\u4f53\u9a8c<\/h2>\n<p>\u5728\u4e00\u53f0 16GB \u5185\u5b58\u3001RTX 4060 8GB \u7684\u7b14\u8bb0\u672c\u4e0a\uff0c\u4e0b\u8f7d\u4e00\u4e2a 7B \u7ea7\u522b\u7684 4-bit \u91cf\u5316\u6a21\u578b\u5927\u7ea6 4.5GB\uff0c\u5343\u5146\u5bbd\u5e26\u4e09\u4e94\u5206\u949f\u4e0b\u5b8c\u3002\u52a0\u8f7d\u8fdb\u663e\u5b58\u7ea6 20 \u79d2\uff0c\u4e4b\u540e\u9996\u5b57\u5ef6\u8fdf\u4e00\u79d2\u51fa\u5934\uff0c\u8f93\u51fa\u901f\u5ea6\u5927\u7ea6\u6bcf\u79d2 30 \u5230 40 \u4e2a token\uff0c\u8bfb\u8d77\u6765\u6bd4\u4eba\u6253\u5b57\u5feb\uff0c\u4e0d\u7528\u5e72\u7b49\u3002<\/p>\n<p>\u8ba9\u5b83\u628a\u4e00\u6bb5\u516b\u767e\u5b57\u7684\u4e2d\u6587\u9700\u6c42\u6574\u7406\u6210\u8868\u683c\uff0c\u7ed3\u6784\u6e05\u695a\uff1b\u6362\u6210\u9700\u8981\u591a\u6b65\u63a8\u7406\u7684\u6570\u5b66\u9898\uff0c7B \u6a21\u578b\u5c31\u660e\u663e\u5403\u529b\uff0c\u6b65\u9aa4\u4f1a\u8df3\u3002\u8fd9\u4e0d\u662f\u8f6f\u4ef6\u7684\u95ee\u9898\uff0c\u662f\u6a21\u578b\u89c4\u6a21\u51b3\u5b9a\u7684\u2014\u2014\u60f3\u505a\u5f97\u66f4\u597d\uff0c\u5f97\u6362\u66f4\u5927\u7684\u6a21\u578b\u548c\u66f4\u957f\u7684\u663e\u5b58\u3002<\/p>\n<p>\u6587\u6863\u5bf9\u8bdd\u529f\u80fd\u4e22\u8fdb\u4e00\u4efd 60 \u9875\u7684\u4ea7\u54c1\u624b\u518c\uff0c\u95ee\u300c\u9000\u6362\u8d27\u65f6\u9650\u662f\u51e0\u5929\u300d\uff0c\u5b83\u80fd\u5b9a\u4f4d\u5230\u5177\u4f53\u6761\u6b3e\u5e76\u5f15\u7528\u539f\u6587\uff0c\u8fd9\u6bd4\u7eaf\u804a\u5929\u5b9e\u7528\u5f97\u591a\u3002<\/p>\n<h2>\u9002\u5408\u8c01<\/h2>\n<ul>\n<li>\u624b\u5934\u6709\u72ec\u7acb\u663e\u5361\u6216 Apple \u82af\u7247\u7684\u5f00\u53d1\u8005\uff0c\u60f3\u4f4e\u6210\u672c\u8bd5\u5404\u79cd\u5f00\u6e90\u6a21\u578b\uff1b<\/li>\n<li>\u9700\u8981\u5904\u7406\u654f\u611f\u6587\u672c\u3001\u53c8\u4e0d\u65b9\u4fbf\u4e0a\u4f20\u5230\u4e91\u7aef\u7684\u4eba\uff1b<\/li>\n<li>\u60f3\u7ed9\u5185\u90e8\u5de5\u5177\u63a5\u4e00\u4e2a\u300c\u4e0d\u6309\u6b21\u8ba1\u8d39\u300d\u7684\u63a8\u7406\u540e\u7aef\uff0c\u505a\u539f\u578b\u9a8c\u8bc1\u3002<\/li>\n<\/ul>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<ul>\n<li><strong>\u663e\u5b58\u662f\u786c\u95e8\u69db<\/strong>\u30028GB \u663e\u5b58\u8dd1 7B \u91cf\u5316\u6a21\u578b\u521a\u597d\uff0c13B \u5c31\u8981 12GB \u4ee5\u4e0a\uff0c\u518d\u5927\u53ea\u80fd\u9760 CPU \u786c\u625b\uff0c\u901f\u5ea6\u4f1a\u8dcc\u5230\u6bcf\u79d2\u51e0\u4e2a token\u3002<\/li>\n<li><strong>\u4e0d\u662f\u6240\u6709\u6a21\u578b\u90fd\u80fd\u5546\u7528<\/strong>\uff0c\u4e0b\u8f7d\u9875\u4f1a\u6807\u6ce8\u8bb8\u53ef\u8bc1\uff0c\u63a5\u5230\u4ea7\u54c1\u91cc\u4e4b\u524d\u52a1\u5fc5\u786e\u8ba4\u3002<\/li>\n<li><strong>\u6a21\u578b\u6587\u4ef6\u5f88\u5360\u76d8<\/strong>\uff0c\u4e00\u4e2a\u6a21\u578b\u52a8\u8f84\u51e0 GB \u5230\u51e0\u5341 GB\uff0c\u5efa\u8bae\u5355\u72ec\u653e\u4e00\u4e2a\u76d8\u5e76\u5b9a\u671f\u6e05\u7406\u3002<\/li>\n<li>\u5b89\u88c5\u5305\u4f53\u79ef\u4e0d\u5c0f\uff0c\u9996\u6b21\u542f\u52a8\u8fd8\u8981\u4e0b\u8f7d\u8fd0\u884c\u65f6\u7ec4\u4ef6\uff0c\u5b8c\u5168\u79bb\u7ebf\u7684\u673a\u5668\u9700\u8981\u63d0\u524d\u51c6\u5907\u3002<\/li>\n<\/ul>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>LM Studio \u7684\u4ef7\u503c\u4e0d\u5728\u4e8e\u300c\u6bd4\u4e91\u7aef\u66f4\u806a\u660e\u300d\u2014\u2014\u540c\u6837\u53c2\u6570\u91cf\u5b83\u80af\u5b9a\u6bd4\u4e0d\u8fc7\u65d7\u8230\u95ed\u6e90\u6a21\u578b\u3002\u5b83\u771f\u6b63\u89e3\u51b3\u7684\u662f<strong>\u53ef\u63a7<\/strong>\uff1a\u6570\u636e\u5728\u54ea\u3001\u82b1\u591a\u5c11\u94b1\u3001\u65ad\u7f51\u8fd8\u80fd\u4e0d\u80fd\u7528\uff0c\u8fd9\u4e09\u4ef6\u4e8b\u7531\u4f60\u81ea\u5df1\u51b3\u5b9a\u3002\u5982\u679c\u4f60\u7684\u673a\u5668\u6709\u5757\u50cf\u6837\u7684\u663e\u5361\uff0c\u53c8\u7ecf\u5e38\u8ddf\u6587\u6863\u548c\u4ee3\u7801\u6253\u4ea4\u9053\uff0c\u5b83\u503c\u5f97\u5360\u4e00\u4e2a\u684c\u9762\u56fe\u6807\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u7ebf\u5927\u6a21\u578b\u7684\u4f53\u9a8c\u5df2\u7ecf\u5f88\u987a\uff0c\u4f46\u6709\u4e09\u4ef6\u4e8b\u4e00\u76f4\u8ba9\u4eba\u72b9\u8c6b\uff1a\u628a\u5408\u540c\u3001\u75c5\u5386\u3001\u5185\u90e8\u6587\u6863\u7c98\u8fdb\u5bf9\u8bdd\u6846\uff0c\u5fc3\u91cc\u603b\u4e0d\u8e0f\u5b9e\uff1b\u65ad\u7f51\u3001\u9650\u6d41\u3001\u6da8\u4ef7\u7684\u65f6\u5019\uff0c\u624b\u4e0a\u7684\u6d3b\u5c31\u5361\u4f4f\u4e86\uff1b\u540c\u4e00\u4e2a\u95ee\u9898\u53cd\u590d\u95ee\uff0c\u989d\u5ea6\u6d88\u8017\u5f97\u6bd4\u60f3\u8c61\u4e2d\u5feb\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165"}],"version-history":[{"count":0,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/165\/revisions"}],"wp:attachment":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}