{"id":479254,"date":"2026-05-11T02:08:43","date_gmt":"2026-05-11T02:08:43","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=479254"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=479254","title":{"rendered":"\u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0430\u0433\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;\u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043d\u0430 \u0441\u043b\u0430\u0431\u043e\u043c MacBook \u0432 \u0430\u0433\u0435\u043d\u0442\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435&#187;. \u0421\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0446\u0435\u043b\u044f\u043c\u0438 \u0431\u044b\u043b\u0438:<\/p>\n<ul>\n<li>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0434\u043d\u043e\u0439 LLM \u043d\u0430 \u0440\u0430\u0437\u043d\u043e\u043c \u0436\u0435\u043b\u0435\u0437\u0435<\/p>\n<\/li>\n<li>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 LLM \u0441 \u043c\u0435\u043d\u0435\u0435 \u043c\u043e\u0449\u043d\u043e\u0439<\/p>\n<\/li>\n<\/ul>\n<h2>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/h2>\n<ul>\n<li>\n<p>\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c<\/p>\n<\/li>\n<li>\n<p><a href=\"#experiment\" rel=\"noopener noreferrer nofollow\">\u0425\u043e\u0434 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#comparison-9b\" rel=\"noopener noreferrer nofollow\">\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 9B \u043d\u0430 MB16 \u0438 MB48<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#comparison-9b-35b\" rel=\"noopener noreferrer nofollow\">\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 9B\/35B \u043d\u0430 MB16 \u0438 MB48<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"#results\" rel=\"noopener noreferrer nofollow\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b &#8212; \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0441 \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0430\u043c\u0438<\/a><\/p>\n<\/li>\n<\/ul>\n<h2>\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c<\/h2>\n<p><strong>\u0416\u0435\u043b\u0435\u0437\u043e:<\/strong><br \/>&#8212; MacBook Pro M2 &#8212; 12 CPU (8+4), 19 GPU, 16GB Unified RAM (\u0434\u0430\u043b\u0435\u0435 MB16)<br \/>&#8212; MacBook Pro M4 &#8212; 14 CPU (10+4), 20 GPU, 48GB Unified RAM (\u0434\u0430\u043b\u0435\u0435 MB48)<\/p>\n<p><strong>\u041f\u041e \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u0433\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0438:<\/strong><br \/>&#8212; LMStudio 0.4.6+1<br \/>&#8212; LMStudio MLX Runtime 1.6.0<br \/>&#8212; <a href=\"https:\/\/huggingface.co\/mlx-community\/Qwen3.5-9B-MLX-4bit\" rel=\"noopener noreferrer nofollow\">Qwen3.5-9B-MLX-4bit<\/a> (\u0434\u0430\u043b\u0435\u0435 \u043c\u043e\u0434\u0435\u043b\u044c 9B)<br \/>&#8212; <a href=\"https:\/\/huggingface.co\/GG-MLX\/Qwen3.5-35B-A3B-MLX-IQ4_M-NVFP4\" rel=\"noopener noreferrer nofollow\">Qwen3.5-35B-A3B-MLX-IQ4_M-NVFP4<\/a> (\u0434\u0430\u043b\u0435\u0435 \u043c\u043e\u0434\u0435\u043b\u044c 35B)<br \/>&#8212; TG Pro \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0443\u043b\u0435\u0440\u0430\u043c\u0438<br \/>&#8212; Swift-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0434\u0443\u0445\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e Spotlight, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 &#171;\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c &#8212; LLM &#8212; \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430&#187;<\/p>\n<p><strong>\u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u0447\u0438\u043d\u0438\u043c:<\/strong><br \/>&#8212; \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 Ubuntu 22.04<br \/>&#8212; \u041f\u0440\u043e\u0441\u0442\u043e\u0439 Python\/FastAPI \u0441\u0435\u0440\u0432\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u043f\u043e\u0440\u0442\u0443 8000<br \/>&#8212; \u041d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438: main.py:14(\u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430), main.py (\u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0439 import requests), \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 requests \u0432 virtualenv<\/p>\n<details class=\"spoiler\">\n<summary>main.py<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\"># ----- main.py -----import osfrom fastapi import FastAPIimport internetapp = FastAPI()@app.get(\"\/info\")def get_info():    try:        internet_ok = internet.check()    except requests.exceptions.RequestExceptio:        return {\"something went wrong\"}    return {\"system_name\": os.uname().sysname, \"internet_ok\": internet_ok}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>internet.py<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"python\"># ----- internet -----def check():    import requests    response = requests.get(\"https:\/\/www.google.com\", timeout=5)    return response.status_code == 200<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<\/div>\n<\/details>\n<h2>\u0425\u043e\u0434 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430<\/h2>\n<p><a class=\"anchor\" name=\"experiment\" id=\"experiment\"><\/a><\/p>\n<p>\u0412\u043e \u0432\u0441\u0435\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u043c\u043f\u0442<\/p>\n<blockquote>\n<p>python \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/10.12.2.134:8000\/info\" rel=\"noopener noreferrer nofollow\">http:\/\/10.12.2.134:8000\/info<\/a> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 500. \u0440\u0430\u043d\u044c\u0448\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u043e\u0441\u044c {&#171;system_name&#187;:&#187;Linux&#187;,&#187;internet_ok&#187;:true}. \u0438\u0441\u043f\u0440\u0430\u0432\u044c<\/p>\n<\/blockquote>\n<details class=\"spoiler\">\n<summary>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442<\/summary>\n<div class=\"spoiler__content\">\n<blockquote>\n<p>You are a server debugging assistant. Your task is to diagnose and fix the user&#8217;s problem by running commands on the remote server.<\/p>\n<p>CRITICAL RULES:<br \/>1. For each step, output EXACTLY ONE command in the format: COMMAND: &lt;exact command&gt;<br \/>2. NEVER output ANSWER in the same message where you output COMMAND.<br \/>3. After I provide the command output, you may output the next command or finally ANSWER.<br \/>4. If you need to run multiple commands, do them ONE BY ONE in separate messages.<br \/>5. Do NOT use heredoc if you ever need to write remote file, use echo\/printf and newline symbols.<br \/>6. Do NOT wrap the command in backticks. Output only the plain command without quotes.<br \/>7. Avoid commands requiring interactive passwords.<br \/>8. When you have enough information to give a final solution, output ONLY: ANSWER: &lt;final diagnosis and solution&gt;<\/p>\n<p>Remember: A message with COMMAND must NOT contain ANSWER. A message with ANSWER must NOT contain COMMAND.<\/p>\n<\/blockquote>\n<\/div>\n<\/details>\n<p>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043a\u0440\u0435\u0434\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0440\u0435\u0436\u0438\u043c \u0430\u0433\u0435\u043d\u0442\u0430, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e2c\/293\/174\/e2c293174f9b837d73010cd08c43e7c1.png\" alt=\"\" title=\"\" width=\"1740\" height=\"800\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/e2c\/293\/174\/e2c293174f9b837d73010cd08c43e7c1.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e2c\/293\/174\/e2c293174f9b837d73010cd08c43e7c1.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0410\u0433\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0447\u0435\u0440\u0435\u0437 SSH, \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 exit code \u0438 \u0432\u044b\u0432\u043e\u0434 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 LLM.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0d0\/4e5\/5cd\/0d04e55cdbff263ebe2ea7e73e9b5ffd.png\" width=\"1438\" height=\"1200\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/0d0\/4e5\/5cd\/0d04e55cdbff263ebe2ea7e73e9b5ffd.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0d0\/4e5\/5cd\/0d04e55cdbff263ebe2ea7e73e9b5ffd.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043c\u043e\u0434\u0435\u043b\u044c 9B &#8212; \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c 41 \u0446\u0438\u043a\u043b \u201c\u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c -&gt; \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b -&gt; \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 -&gt; \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u044b\u201d. \u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0434\u043b\u044f MB16 \u0438 MB48<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b15\/c35\/6a3\/b15c356a386720ba98c5d77df9656424.png\" alt=\"\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 (memory footprint) \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438\/\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432\" title=\"\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 (memory footprint) \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438\/\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432\" width=\"3572\" height=\"1432\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/b15\/c35\/6a3\/b15c356a386720ba98c5d77df9656424.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b15\/c35\/6a3\/b15c356a386720ba98c5d77df9656424.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 (memory footprint) \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438\/\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a5f\/a9b\/2e8\/a5fa9b2e8d1754daee6b6f3967bfaab3.png\" alt=\"\u0441\u043d\u0438\u0436\u0435\u043d\u0438\u0435 TPS, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u0435 TTFT\" title=\"\u0441\u043d\u0438\u0436\u0435\u043d\u0438\u0435 TPS, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u0435 TTFT\" width=\"3646\" height=\"1388\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/a5f\/a9b\/2e8\/a5fa9b2e8d1754daee6b6f3967bfaab3.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a5f\/a9b\/2e8\/a5fa9b2e8d1754daee6b6f3967bfaab3.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0441\u043d\u0438\u0436\u0435\u043d\u0438\u0435 TPS, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u0435 TTFT<\/figcaption><\/div>\n<\/figure>\n<p>\u0410\u0433\u0435\u043d\u0442, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441 \u044d\u0442\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u043d\u0430 MB16 \u0438 MB48 \u0434\u0430\u0435\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 (\u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430, \u0431\u044b\u043b\u0438 \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445), \u043d\u043e \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b.<\/p>\n<h2>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 9B \u043d\u0430 MB16 \u0438 MB48<\/h2>\n<p><a class=\"anchor\" name=\"comparison-9b\" id=\"comparison-9b\"><\/a><\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/20c\/175\/60e\/20c17560ee00027eac742531ea522fe8.png\" width=\"3120\" height=\"1118\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/20c\/175\/60e\/20c17560ee00027eac742531ea522fe8.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/20c\/175\/60e\/20c17560ee00027eac742531ea522fe8.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bf5\/be3\/626\/bf5be36262885ab99ef9fccefabd8410.png\" width=\"3076\" height=\"1090\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/bf5\/be3\/626\/bf5be36262885ab99ef9fccefabd8410.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bf5\/be3\/626\/bf5be36262885ab99ef9fccefabd8410.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h2>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 9B\/35B \u043d\u0430 MB16 \u0438 MB48<\/h2>\n<p><a class=\"anchor\" name=\"comparison-9b-35b\" id=\"comparison-9b-35b\"><\/a><\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cb0\/bda\/634\/cb0bda63402cd482b22b5575633b20fa.png\" width=\"3308\" height=\"1294\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/cb0\/bda\/634\/cb0bda63402cd482b22b5575633b20fa.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cb0\/bda\/634\/cb0bda63402cd482b22b5575633b20fa.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/878\/4ce\/12f\/8784ce12f23246a5153bb7faf9039590.png\" width=\"3332\" height=\"1202\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/878\/4ce\/12f\/8784ce12f23246a5153bb7faf9039590.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/878\/4ce\/12f\/8784ce12f23246a5153bb7faf9039590.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0410\u0433\u0435\u043d\u0442, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 35B, \u0434\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u043a\u0440\u0443\u0442\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u043c\u043e\u0434\u0435\u043b\u044c\u044e 9B: \u0426\u0435\u043f\u043e\u0447\u043a\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430, \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0439 \u043d\u0435 \u0431\u044b\u043b\u043e, \u0438\u0437\u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432\u0430\u043d\u043e \u043a\u0440\u0430\u0442\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (~50.000 \u043f\u0440\u043e\u0442\u0438\u0432 ~300.000)<\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/h2>\n<p><a class=\"anchor\" name=\"results\" id=\"results\"><\/a><\/p>\n<ol>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c 9B \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0430\u044f \u043d\u0430 MB16, \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 50-60% \u0441\u0435\u0441\u0441\u0438\u0439<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c 9B \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0430\u0451\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 MB16 \u0438 MB48<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c 9B \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0430\u0451\u0442 \u0431\u043e\u043b\u0435\u0435 \u043f\u043b\u043e\u0445\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 MB16, \u0447\u0435\u043c \u043d\u0430 MB48<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c 35B &#8212; \u043a\u043e\u0441\u043c\u043e\u043b\u0451\u0442  \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e 9B &#8212; \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 95% \u0441\u0435\u0441\u0441\u0438\u0439<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u0438 35B \u043d\u0443\u0436\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 (\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 3 \u0440\u0430\u0437\u0430 &#8212; \u043d\u0435\u0442 \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0439) \u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u0443\u0435\u0442\u0441\u044f (50\u043a \u043f\u0440\u043e\u0442\u0438\u0432 300\u043a \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 9B)<\/p>\n<\/li>\n<li>\n<p>\u0416\u0430\u043b\u043a\u043e \u043d\u043e\u0443\u0442\u0431\u0443\u043a &#8212; \u0431\u0435\u0437 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0443\u043b\u0435\u0440\u0430\u043c\u0438 &#8212; \u0431\u0435\u0437 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u041f\u041e \u043a\u0443\u043b\u0435\u0440\u044b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043a\u0440\u0443\u0442\u044f\u0442\u0441\u044f &#8212; \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 GPU \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 90-100, \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0441\u043f\u0430\u0434\u0430\u0435\u0442. \u0412\u043a\u043b\u044e\u0447\u0438\u0432 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0443\u043b\u0435\u0440\u0430\u043c\u0438 &#8212; \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0440\u0435\u0434\u043a\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 70, \u0441\u043f\u0430\u0434\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 &#8212; \u0437\u0430 \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0441\u043f\u043e\u043a\u043e\u0435\u043d.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0441 \u043c\u043e\u0434\u0435\u043b\u044c\u044e 35B \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1033614\/\">https:\/\/habr.com\/ru\/articles\/1033614\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;\u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043d\u0430 \u0441\u043b\u0430\u0431\u043e\u043c MacBook \u0432 \u0430\u0433\u0435\u043d\u0442\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435&#187;. \u0421\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0446\u0435\u043b\u044f\u043c\u0438 \u0431\u044b\u043b\u0438:\u0421\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0434\u043d\u043e\u0439 LLM \u043d\u0430 \u0440\u0430\u0437\u043d\u043e\u043c \u0436\u0435\u043b\u0435\u0437\u0435\u0421\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 LLM \u0441 \u043c\u0435\u043d\u0435\u0435 \u043c\u043e\u0449\u043d\u043e\u0439\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c\u0425\u043e\u0434 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 9B \u043d\u0430 MB16 \u0438 MB48\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 9B\/35B \u043d\u0430 MB16 \u0438 MB48\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b &#8212; \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0441 \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0430\u043c\u0438\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c\u0416\u0435\u043b\u0435\u0437\u043e:- MacBook Pro M2 &#8212; 12 CPU (8+4), 19 GPU, 16GB Unified RAM (\u0434\u0430\u043b\u0435\u0435 MB16)- MacBook Pro M4 &#8212; 14 CPU (10+4), 20 GPU, 48GB Unified RAM (\u0434\u0430\u043b\u0435\u0435 MB48)\u041f\u041e \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u0433\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0438:- LMStudio 0.4.6+1- LMStudio MLX Runtime 1.6.0- Qwen3.5-9B-MLX-4bit (\u0434\u0430\u043b\u0435\u0435 \u043c\u043e\u0434\u0435\u043b\u044c 9B)- Qwen3.5-35B-A3B-MLX-IQ4_M-NVFP4 (\u0434\u0430\u043b\u0435\u0435 \u043c\u043e\u0434\u0435\u043b\u044c 35B)- TG Pro \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0443\u043b\u0435\u0440\u0430\u043c\u0438- Swift-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0434\u0443\u0445\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e Spotlight, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 &#171;\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c &#8212; LLM &#8212; \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430&#187;\u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u0447\u0438\u043d\u0438\u043c:- \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 Ubuntu 22.04- \u041f\u0440\u043e\u0441\u0442\u043e\u0439 Python\/FastAPI \u0441\u0435\u0440\u0432\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u043f\u043e\u0440\u0442\u0443 8000- \u041d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438: main.py:14(\u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430), main.py (\u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0439 import requests), \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 requests \u0432 virtualenvmain.py# &#8212;&#8212; main.py &#8212;&#8212;import osfrom fastapi import FastAPIimport internetapp = FastAPI()@app.get(&#171;\/info&#187;)def get_info():    try:        internet_ok = internet.check()    except requests.exceptions.RequestExceptio:        return {&#171;something went wrong&#187;}    return {&#171;system_name&#187;: os.uname().sysname, &#171;internet_ok&#187;: internet_ok}internet.py# &#8212;&#8212; internet &#8212;&#8212;def check():    import requests    response = requests.get(&#171;https:\/\/www.google.com&#187;, timeout=5)    return response.status_code == 200\u0425\u043e\u0434 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u0412\u043e \u0432\u0441\u0435\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u043c\u043f\u0442python \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 http:\/\/10.12.2.134:8000\/info \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 500. \u0440\u0430\u043d\u044c\u0448\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u043e\u0441\u044c {&#171;system_name&#187;:&#187;Linux&#187;,&#187;internet_ok&#187;:true}. \u0438\u0441\u043f\u0440\u0430\u0432\u044c\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442You are a server debugging assistant. Your task is to diagnose and fix the user&#8217;s problem by running commands on the remote server.CRITICAL RULES:1. For each step, output EXACTLY ONE command in the format: COMMAND: &lt;exact command&gt;2. NEVER output ANSWER in the same message where you output COMMAND.3. After I provide the command output, you may output the next command or finally ANSWER.4. If you need to run multiple commands, do them ONE BY ONE in separate messages.5. Do NOT use heredoc if you ever need to write remote file, use echo\/printf and newline symbols.6. Do NOT wrap the command in backticks. Output only the plain command without quotes.7. Avoid commands requiring interactive passwords.8. When you have enough information to give a final solution, output ONLY: ANSWER: &lt;final diagnosis and solution&gt;Remember: A message with COMMAND must NOT contain ANSWER. A message with ANSWER must NOT contain COMMAND.\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043a\u0440\u0435\u0434\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0440\u0435\u0436\u0438\u043c \u0430\u0433\u0435\u043d\u0442\u0430, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441:\u0410\u0433\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0447\u0435\u0440\u0435\u0437 SSH, \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 exit code \u0438 \u0432\u044b\u0432\u043e\u0434 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 LLM.\u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043c\u043e\u0434\u0435\u043b\u044c 9B &#8212; \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c 41 \u0446\u0438\u043a\u043b \u201c\u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c -&gt; \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b -&gt; \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 -&gt; \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u044b\u201d. \u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0434\u043b\u044f MB16 \u0438 MB48\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 (memory footprint) \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438\/\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432\u0441\u043d\u0438\u0436\u0435\u043d\u0438\u0435 TPS, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u0435 TTFT\u0410\u0433\u0435\u043d\u0442, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441 \u044d\u0442\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u043d\u0430 MB16 \u0438 MB48 \u0434\u0430\u0435\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 (\u0446\u0435\u043f\u043e\u0447\u043a\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430, \u0431\u044b\u043b\u0438 \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445), \u043d\u043e \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b.\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 9B \u043d\u0430 MB16 \u0438 MB48\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 9B\/35B \u043d\u0430 MB16 \u0438 MB48\u0410\u0433\u0435\u043d\u0442, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 35B, \u0434\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u043a\u0440\u0443\u0442\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u043c\u043e\u0434\u0435\u043b\u044c\u044e 9B: \u0426\u0435\u043f\u043e\u0447\u043a\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430, \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0439 \u043d\u0435 \u0431\u044b\u043b\u043e, \u0438\u0437\u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432\u0430\u043d\u043e \u043a\u0440\u0430\u0442\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (~50.000 \u043f\u0440\u043e\u0442\u0438\u0432 ~300.000)\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b\u041c\u043e\u0434\u0435\u043b\u044c 9B \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0430\u044f \u043d\u0430 MB16, \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 50-60% \u0441\u0435\u0441\u0441\u0438\u0439\u041c\u043e\u0434\u0435\u043b\u044c 9B \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0430\u0451\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 MB16 \u0438 MB48\u041c\u043e\u0434\u0435\u043b\u044c 9B \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0430\u0451\u0442 \u0431\u043e\u043b\u0435\u0435 \u043f\u043b\u043e\u0445\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 MB16, \u0447\u0435\u043c \u043d\u0430 MB48\u041c\u043e\u0434\u0435\u043b\u044c 35B &#8212; \u043a\u043e\u0441\u043c\u043e\u043b\u0451\u0442  \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e 9B &#8212; \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 95% \u0441\u0435\u0441\u0441\u0438\u0439\u041c\u043e\u0434\u0435\u043b\u0438 35B \u043d\u0443\u0436\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 (\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 3 \u0440\u0430\u0437\u0430 &#8212; \u043d\u0435\u0442 \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0439) \u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u0443\u0435\u0442\u0441\u044f (50\u043a \u043f\u0440\u043e\u0442\u0438\u0432 300\u043a \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 9B)\u0416\u0430\u043b\u043a\u043e \u043d\u043e\u0443\u0442\u0431\u0443\u043a &#8212; \u0431\u0435\u0437 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0443\u043b\u0435\u0440\u0430\u043c\u0438 &#8212; \u0431\u0435\u0437 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u041f\u041e \u043a\u0443\u043b\u0435\u0440\u044b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043a\u0440\u0443\u0442\u044f\u0442\u0441\u044f &#8212; \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 GPU \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 90-100, \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0441\u043f\u0430\u0434\u0430\u0435\u0442. \u0412\u043a\u043b\u044e\u0447\u0438\u0432 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0443\u043b\u0435\u0440\u0430\u043c\u0438 &#8212; \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0440\u0435\u0434\u043a\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 70, \u0441\u043f\u0430\u0434\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 &#8212; \u0437\u0430 \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0441\u043f\u043e\u043a\u043e\u0435\u043d.\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0441 \u043c\u043e\u0434\u0435\u043b\u044c\u044e 35B \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445.\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1033614\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-479254","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/479254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=479254"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/479254\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=479254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=479254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=479254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}