{"id":494235,"date":"2026-09-10T12:11:59","date_gmt":"2026-09-10T12:11:59","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=494235"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=494235","title":{"rendered":"LLMCOD \u043f\u0435\u0440\u0435\u0448\u0451\u043b \u043d\u0430 Qwen 3.8: 2\u00d7 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, 32K \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0438 MTP-\u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u043d\u0430 V100"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>\u0414\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f API LLMCOD \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430 Qwen 3.6. \u041c\u043e\u0434\u0435\u043b\u044c \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0430\u0441\u044c, \u043d\u043e \u043f\u043e \u043c\u0435\u0440\u0435 \u0440\u043e\u0441\u0442\u0430 \u0447\u0438\u0441\u043b\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438 \u0443\u0441\u043b\u043e\u0436\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u043c\u043f\u0442\u043e\u0432 (\u0434\u043b\u0438\u043d\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0437\u043d\u0430\u043d\u0438\u0439, \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0438, \u0430\u0433\u0435\u043d\u0442\u044b) \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e: \u043d\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u0441\u0432\u0435\u0436\u0438\u0439 \u0431\u044d\u043a\u0435\u043d\u0434 \u0441 \u043b\u0443\u0447\u0448\u0438\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c GPU.<\/p>\n<p>\u0426\u0435\u043b\u044c \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043e\u0442 \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u0436\u0435\u043b\u0435\u0437\u0430 (Tesla V100-SXM2-32GB), \u043d\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u044f \u043d\u043e\u0432\u044b\u0439 GPU.<\/p>\n<hr\/>\n<h3>\u0427\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u0438<\/h3>\n<h4>1. \u041e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c<\/h4>\n<p>\u041f\u0435\u0440\u0435\u0448\u043b\u0438 \u0441 Qwen 3.6 \u043d\u0430\u00a0<strong>Qwen 3.8 27B (Dense)<\/strong>\u00a0\u0432 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0438\u00a0<strong>Q6_K_M<\/strong>\u00a0(Ultra-Deduplicated). \u041c\u043e\u0434\u0435\u043b\u044c \u2014 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 UD-\u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0439 I-Quants, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u0442\u0435\u0440\u044e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0436\u0430\u0442\u0438\u0438.<\/p>\n<p>\u0420\u0430\u0437\u043c\u0435\u0440 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435: ~12 \u0413\u0411. \u0412 VRAM \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0435\u0445 \u0441\u043b\u043e\u0451\u0432 \u043d\u0430 GPU (<code>-ngl 99<\/code>) \u2014 ~18 \u0413\u0411.<\/p>\n<h4>2. \u0412\u043a\u043b\u044e\u0447\u0438\u043b\u0438 MTP-\u0441\u043f\u0435\u043a\u0443\u043b\u044f\u0442\u0438\u0432\u043d\u044b\u0439 \u0434\u0435\u043a\u043e\u0434\u0438\u043d\u0433<\/h4>\n<p>Qwen 3.8 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u00a0<strong>Multi-Token Prediction (MTP)<\/strong>\u00a0\u2014 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0440\u0430\u0444\u0442-\u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0437\u0430 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0445\u043e\u0434, \u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0438\u0445 \u0437\u0430 \u043e\u0434\u0438\u043d forward. \u0415\u0441\u043b\u0438 \u0434\u0440\u0430\u0444\u0442 \u0443\u0433\u0430\u0434\u0430\u043b \u2014 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442\u0441\u044f; \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u0442.<\/p>\n<p>\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c MTP-\u043c\u043e\u0434\u0435\u043b\u044c \u0432 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0438 Q4_0 (~3 \u0413\u0411 VRAM) \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c\u00a0<code>--spec-draft-n-max 3<\/code>\u00a0(\u0434\u043e 3 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0437\u0430 \u0448\u0430\u0433).<\/p>\n<p><strong>\u042d\u0444\u0444\u0435\u043a\u0442:<\/strong>\u00a0MTP \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 40\u201350% \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c autoregressive decoding. \u0412 \u0442\u0435\u0441\u0442\u0430\u0445:<\/p>\n<ul>\n<li>\n<p>\u0431\u0435\u0437 MTP: ~30 \u0442\u043e\u043a\/\u0441<\/p>\n<\/li>\n<li>\n<p>\u0441 MTP: ~45 \u0442\u043e\u043a\/\u0441 (\u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441)<\/p>\n<\/li>\n<li>\n<p>\u0441 MTP, \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445: ~26 \u0442\u043e\u043a\/\u0441 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0442\u043e\u043a<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442: 2\u00d732K \u0441 KV-\u043a\u044d\u0448\u0435\u043c \u0432 q8_0<\/h4>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0434\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 (32K \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043d\u0430 \u0434\u0438\u0430\u043b\u043e\u0433) \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0443\u044e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u0432\u0443\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong>\u00a0KV-\u043a\u044d\u0448 \u0434\u043b\u044f 2 \u0441\u043b\u043e\u0442\u043e\u0432 \u043f\u043e 32K \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 f16 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 ~10 \u0413\u0411 VRAM. \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u0432\u0435\u0441\u0430\u043c\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 (18 \u0413\u0411) \u0438 MTP-\u043c\u043e\u0434\u0435\u043b\u044c\u044e (3 \u0413\u0411) \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f ~31 \u0413\u0411 \u2014 \u043d\u0430 \u0433\u0440\u0430\u043d\u0438 OOM.<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong>\u00a0\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0435 KV-\u043a\u044d\u0448\u0430 \u0432\u00a0<strong>q8_0<\/strong>\u00a0\u2014 \u0444\u043b\u0430\u0433\u0438\u00a0<code>--cache-type-k q8_0 --cache-type-v q8_0<\/code>. \u042d\u0442\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u044d\u0448\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432\u0434\u0432\u043e\u0435 \u043f\u0440\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430.<\/p>\n<h4>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f<\/h4>\n<pre><code>iniExecStart=\/opt\/llama.cpp\/build\/bin\/llama-server \\  -m \/opt\/models\/qwen38-27b\/Qwen3.8-27B-UD-Q6_K_M.gguf \\  -md \/opt\/models\/qwen38-27b\/MTP\/mtp-Qwen3.8-27B-Q4_0.gguf \\  --spec-type draft-mtp --spec-draft-n-max 3 \\  -ngl 99 \\  -c 65536 --cache-type-k q8_0 --cache-type-v q8_0 \\  --port 8080 --host 0.0.0.0 \\  --jinja --reasoning off \\  --alias qwen3.8 --parallel 2<\/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<pre><code>ExecStart=\/opt\/llama.cpp\/build\/bin\/llama-server \\  -m \/opt\/models\/qwen38-27b\/Qwen3.8-27B-UD-Q6_K_M.gguf \\  -md \/opt\/models\/qwen38-27b\/MTP\/mtp-Qwen3.8-27B-Q4_0.gguf \\  --spec-type draft-mtp --spec-draft-n-max 3 \\  -ngl 99 \\  -c 65536 --cache-type-k q8_0 --cache-type-v q8_0 \\  --port 8080 --host 0.0.0.0 \\  --jinja --reasoning off \\  --alias qwen3.8 --parallel 2<\/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<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041c\u043e\u0434\u0435\u043b\u044c<\/p>\n<\/td>\n<td>\n<p align=\"left\">Qwen 3.8 27B, Q6_K_M (UD)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0414\u0440\u0430\u0444\u0442-\u043c\u043e\u0434\u0435\u043b\u044c<\/p>\n<\/td>\n<td>\n<p align=\"left\">MTP, Q4_0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">GPU<\/p>\n<\/td>\n<td>\n<p align=\"left\">Tesla V100-SXM2-32GB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0431\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442<\/p>\n<\/td>\n<td>\n<p align=\"left\">65 536 \u0442\u043e\u043a\u0435\u043d\u043e\u0432<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u0441\u043b\u043e\u0442<\/p>\n<\/td>\n<td>\n<p align=\"left\">32 768 \u0442\u043e\u043a\u0435\u043d\u043e\u0432<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\">2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">KV-\u043a\u044d\u0448<\/p>\n<\/td>\n<td>\n<p align=\"left\">q8_0 (K \u0438 V)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">VRAM \u0432\u0441\u0435\u0433\u043e<\/p>\n<\/td>\n<td>\n<p align=\"left\">~26.3 \u0413\u0411 \u0438\u0437 32 \u0413\u0411<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0417\u0430\u043f\u0430\u0441 VRAM<\/p>\n<\/td>\n<td>\n<p align=\"left\">~6.5 \u0413\u0411<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c (1 \u0437\u0430\u043f\u0440\u043e\u0441)<\/p>\n<\/td>\n<td>\n<p align=\"left\">~45 \u0442\u043e\u043a\/\u0441<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c (2 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445)<\/p>\n<\/td>\n<td>\n<p align=\"left\">~26 \u0442\u043e\u043a\/\u0441 \u043d\u0430 \u043f\u043e\u0442\u043e\u043a<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<hr\/>\n<h3>\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a: \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/h3>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0434\u0432\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u2014 \u00ab\u043d\u0430\u043f\u0438\u0448\u0438 500 \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u043a\u043e\u0441\u043c\u043e\u0441\u00bb \u0438 \u00ab\u043d\u0430\u043f\u0438\u0448\u0438 500 \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u043e\u043a\u0435\u0430\u043d\u00bb. \u041e\u0431\u0430 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b\u0438 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 (PID 20935 \u0438 20936).<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\n<\/th>\n<th>\n<p align=\"left\">\u041a\u043e\u0441\u043c\u043e\u0441<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041e\u043a\u0435\u0430\u043d<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Prompt tokens<\/p>\n<\/td>\n<td>\n<p align=\"left\">23<\/p>\n<\/td>\n<td>\n<p align=\"left\">23<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Completion tokens<\/p>\n<\/td>\n<td>\n<p align=\"left\">804<\/p>\n<\/td>\n<td>\n<p align=\"left\">777<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0412\u0440\u0435\u043c\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">30.7 \u0441\u0435\u043a<\/p>\n<\/td>\n<td>\n<p align=\"left\">29.7 \u0441\u0435\u043a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c<\/p>\n<\/td>\n<td>\n<p align=\"left\">26.2 \u0442\u043e\u043a\/\u0441<\/p>\n<\/td>\n<td>\n<p align=\"left\">26.1 \u0442\u043e\u043a\/\u0441<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Draft accepted<\/p>\n<\/td>\n<td>\n<p align=\"left\">447 \u0438\u0437 1074<\/p>\n<\/td>\n<td>\n<p align=\"left\">435 \u0438\u0437 1023<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 \u043c\u0435\u043d\u044c\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u041e\u0431\u0430 \u0441\u043b\u043e\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e, \u0431\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438.<\/p>\n<hr\/>\n<h3>\u0420\u0430\u0437\u0431\u043e\u0440 \u043f\u043e \u043f\u0430\u043c\u044f\u0442\u0438<\/h3>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">VRAM<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0412\u0435\u0441\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 (Q6_K_M, \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u043d\u0430 GPU)<\/p>\n<\/td>\n<td>\n<p align=\"left\">~18 \u0413\u0411<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">MTP-\u043c\u043e\u0434\u0435\u043b\u044c (Q4_0)<\/p>\n<\/td>\n<td>\n<p align=\"left\">~3 \u0413\u0411<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">KV-\u043a\u044d\u0448 2\u00d732K \u0432 q8_0<\/p>\n<\/td>\n<td>\n<p align=\"left\">~5 \u0413\u0411<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041f\u0440\u043e\u0447\u0435\u0435 (CUDA context, \u0431\u0443\u0444\u0435\u0440\u044b)<\/p>\n<\/td>\n<td>\n<p align=\"left\">~0.3 \u0413\u0411<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>\u0418\u0442\u043e\u0433\u043e<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>~26.3 \u0413\u0411<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, KV-\u043a\u044d\u0448 \u0432 f16 \u0437\u0430\u043d\u044f\u043b \u0431\u044b ~10 \u0413\u0411, \u0438 \u0438\u0442\u043e\u0433\u043e \u0431\u044b\u043b\u043e \u0431\u044b ~31 \u0413\u0411 \u2014 \u043d\u0430 \u0433\u0440\u0430\u043d\u0438 OOM.<\/p>\n<hr\/>\n<h3>\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u044b<\/h3>\n<ul>\n<li>\n<p><strong>\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 32K<\/strong>\u00a0\u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433 \u2014 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432, \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u043e\u043c\u043f\u0442\u044b, \u0431\u0430\u0437\u044b \u0437\u043d\u0430\u043d\u0438\u0439.<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0432\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/strong>\u00a0\u0431\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438 API \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p><strong>MTP-\u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435<\/strong>\u00a0\u2014 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430 40\u201350% \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0440\u0435\u0436\u0438\u043c\u043e\u043c.<\/p>\n<\/li>\n<li>\n<p><strong>OpenAI-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 API<\/strong>\u00a0\u2014 \u043a\u043b\u044e\u0447\u0438 \u0438 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0438\u0441\u044c, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<h3>\u0414\u0435\u043f\u043b\u043e\u0439<\/h3>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 systemd (<code>qwen-llama-server.service<\/code>), \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a \u0432\u043a\u043b\u044e\u0447\u0451\u043d. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u041e\u0421 \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438.<\/p>\n<p>LLM API:\u00a0\u00a0\u0427\u0430\u0442 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430:\u00a0<\/p>\n<hr\/>\n<p><em>\u0414\u0430\u0442\u0430: 10 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2026 \u00b7 LLMCOD \u00b7 Tesla V100-SXM2-32GB \u00b7 llama.cpp + MTP<\/em><\/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\/1080846\/\">https:\/\/habr.com\/ru\/articles\/1080846\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0437\u0430\u0434\u0430\u0447\u0438\u0414\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f API LLMCOD \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430 Qwen 3.6. \u041c\u043e\u0434\u0435\u043b\u044c \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0430\u0441\u044c, \u043d\u043e \u043f\u043e \u043c\u0435\u0440\u0435 \u0440\u043e\u0441\u0442\u0430 \u0447\u0438\u0441\u043b\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438 \u0443\u0441\u043b\u043e\u0436\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u043c\u043f\u0442\u043e\u0432 (\u0434\u043b\u0438\u043d\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u0437\u043d\u0430\u043d\u0438\u0439, \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0438, \u0430\u0433\u0435\u043d\u0442\u044b) \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e: \u043d\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u0441\u0432\u0435\u0436\u0438\u0439 \u0431\u044d\u043a\u0435\u043d\u0434 \u0441 \u043b\u0443\u0447\u0448\u0438\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c GPU.\u0426\u0435\u043b\u044c \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043e\u0442 \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u0436\u0435\u043b\u0435\u0437\u0430 (Tesla V100-SXM2-32GB), \u043d\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u044f \u043d\u043e\u0432\u044b\u0439 GPU.\u0427\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u04381. \u041e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c\u041f\u0435\u0440\u0435\u0448\u043b\u0438 \u0441 Qwen 3.6 \u043d\u0430\u00a0Qwen 3.8 27B (Dense)\u00a0\u0432 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0438\u00a0Q6_K_M\u00a0(Ultra-Deduplicated). \u041c\u043e\u0434\u0435\u043b\u044c \u2014 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 UD-\u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0439 I-Quants, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u0442\u0435\u0440\u044e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0436\u0430\u0442\u0438\u0438.\u0420\u0430\u0437\u043c\u0435\u0440 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435: ~12 \u0413\u0411. \u0412 VRAM \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0435\u0445 \u0441\u043b\u043e\u0451\u0432 \u043d\u0430 GPU (-ngl 99) \u2014 ~18 \u0413\u0411.2. \u0412\u043a\u043b\u044e\u0447\u0438\u043b\u0438 MTP-\u0441\u043f\u0435\u043a\u0443\u043b\u044f\u0442\u0438\u0432\u043d\u044b\u0439 \u0434\u0435\u043a\u043e\u0434\u0438\u043d\u0433Qwen 3.8 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u00a0Multi-Token Prediction (MTP)\u00a0\u2014 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0440\u0430\u0444\u0442-\u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0437\u0430 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0445\u043e\u0434, \u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0438\u0445 \u0437\u0430 \u043e\u0434\u0438\u043d forward. \u0415\u0441\u043b\u0438 \u0434\u0440\u0430\u0444\u0442 \u0443\u0433\u0430\u0434\u0430\u043b \u2014 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442\u0441\u044f; \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u0442.\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c MTP-\u043c\u043e\u0434\u0435\u043b\u044c \u0432 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0438 Q4_0 (~3 \u0413\u0411 VRAM) \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c\u00a0&#8212;spec-draft-n-max 3\u00a0(\u0434\u043e 3 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0437\u0430 \u0448\u0430\u0433).\u042d\u0444\u0444\u0435\u043a\u0442:\u00a0MTP \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 40\u201350% \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c autoregressive decoding. \u0412 \u0442\u0435\u0441\u0442\u0430\u0445:\u0431\u0435\u0437 MTP: ~30 \u0442\u043e\u043a\/\u0441\u0441 MTP: ~45 \u0442\u043e\u043a\/\u0441 (\u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441)\u0441 MTP, \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445: ~26 \u0442\u043e\u043a\/\u0441 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0442\u043e\u043a3. \u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442: 2\u00d732K \u0441 KV-\u043a\u044d\u0448\u0435\u043c \u0432 q8_0\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0434\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 (32K \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043d\u0430 \u0434\u0438\u0430\u043b\u043e\u0433) \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0443\u044e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u0432\u0443\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:\u00a0KV-\u043a\u044d\u0448 \u0434\u043b\u044f 2 \u0441\u043b\u043e\u0442\u043e\u0432 \u043f\u043e 32K \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 f16 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 ~10 \u0413\u0411 VRAM. \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u0432\u0435\u0441\u0430\u043c\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 (18 \u0413\u0411) \u0438 MTP-\u043c\u043e\u0434\u0435\u043b\u044c\u044e (3 \u0413\u0411) \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f ~31 \u0413\u0411 \u2014 \u043d\u0430 \u0433\u0440\u0430\u043d\u0438 OOM.\u0420\u0435\u0448\u0435\u043d\u0438\u0435:\u00a0\u041a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0435 KV-\u043a\u044d\u0448\u0430 \u0432\u00a0q8_0\u00a0\u2014 \u0444\u043b\u0430\u0433\u0438\u00a0&#8212;cache-type-k q8_0 &#8212;cache-type-v q8_0. \u042d\u0442\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u044d\u0448\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432\u0434\u0432\u043e\u0435 \u043f\u0440\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430.\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044finiExecStart=\/opt\/llama.cpp\/build\/bin\/llama-server \\  -m \/opt\/models\/qwen38-27b\/Qwen3.8-27B-UD-Q6_K_M.gguf \\  -md \/opt\/models\/qwen38-27b\/MTP\/mtp-Qwen3.8-27B-Q4_0.gguf \\  &#8212;spec-type draft-mtp &#8212;spec-draft-n-max 3 \\  -ngl 99 \\  -c 65536 &#8212;cache-type-k q8_0 &#8212;cache-type-v q8_0 \\  &#8212;port 8080 &#8212;host 0.0.0.0 \\  &#8212;jinja &#8212;reasoning off \\  &#8212;alias qwen3.8 &#8212;parallel 2ExecStart=\/opt\/llama.cpp\/build\/bin\/llama-server \\  -m \/opt\/models\/qwen38-27b\/Qwen3.8-27B-UD-Q6_K_M.gguf \\  -md \/opt\/models\/qwen38-27b\/MTP\/mtp-Qwen3.8-27B-Q4_0.gguf \\  &#8212;spec-type draft-mtp &#8212;spec-draft-n-max 3 \\  -ngl 99 \\  -c 65536 &#8212;cache-type-k q8_0 &#8212;cache-type-v q8_0 \\  &#8212;port 8080 &#8212;host 0.0.0.0 \\  &#8212;jinja &#8212;reasoning off \\  &#8212;alias qwen3.8 &#8212;parallel 2\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u041c\u043e\u0434\u0435\u043b\u044cQwen 3.8 27B, Q6_K_M (UD)\u0414\u0440\u0430\u0444\u0442-\u043c\u043e\u0434\u0435\u043b\u044cMTP, Q4_0GPUTesla V100-SXM2-32GB\u041e\u0431\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u044265 536 \u0442\u043e\u043a\u0435\u043d\u043e\u0432\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u0441\u043b\u043e\u044232 768 \u0442\u043e\u043a\u0435\u043d\u043e\u0432\u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u04322KV-\u043a\u044d\u0448q8_0 (K \u0438 V)VRAM \u0432\u0441\u0435\u0433\u043e~26.3 \u0413\u0411 \u0438\u0437 32 \u0413\u0411\u0417\u0430\u043f\u0430\u0441 VRAM~6.5 \u0413\u0411\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c (1 \u0437\u0430\u043f\u0440\u043e\u0441)~45 \u0442\u043e\u043a\/\u0441\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c (2 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445)~26 \u0442\u043e\u043a\/\u0441 \u043d\u0430 \u043f\u043e\u0442\u043e\u043a\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a: \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0434\u0432\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u2014 \u00ab\u043d\u0430\u043f\u0438\u0448\u0438 500 \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u043a\u043e\u0441\u043c\u043e\u0441\u00bb \u0438 \u00ab\u043d\u0430\u043f\u0438\u0448\u0438 500 \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u043e\u043a\u0435\u0430\u043d\u00bb. \u041e\u0431\u0430 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b\u0438 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 (PID 20935 \u0438 20936).\u041a\u043e\u0441\u043c\u043e\u0441\u041e\u043a\u0435\u0430\u043dPrompt tokens2323Completion tokens804777\u0412\u0440\u0435\u043c\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u043830.7 \u0441\u0435\u043a29.7 \u0441\u0435\u043a\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c26.2 \u0442\u043e\u043a\/\u044126.1 \u0442\u043e\u043a\/\u0441Draft accepted447 \u0438\u0437 1074435 \u0438\u0437 1023\u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 \u043c\u0435\u043d\u044c\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u041e\u0431\u0430 \u0441\u043b\u043e\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e, \u0431\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438.\u0420\u0430\u0437\u0431\u043e\u0440 \u043f\u043e \u043f\u0430\u043c\u044f\u0442\u0438\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442VRAM\u0412\u0435\u0441\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 (Q6_K_M, \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u043d\u0430 GPU)~18 \u0413\u0411MTP-\u043c\u043e\u0434\u0435\u043b\u044c (Q4_0)~3 \u0413\u0411KV-\u043a\u044d\u0448 2\u00d732K \u0432 q8_0~5 \u0413\u0411\u041f\u0440\u043e\u0447\u0435\u0435 (CUDA context, \u0431\u0443\u0444\u0435\u0440\u044b)~0.3 \u0413\u0411\u0418\u0442\u043e\u0433\u043e~26.3 \u0413\u0411\u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, KV-\u043a\u044d\u0448 \u0432 f16 \u0437\u0430\u043d\u044f\u043b \u0431\u044b ~10 \u0413\u0411, \u0438 \u0438\u0442\u043e\u0433\u043e \u0431\u044b\u043b\u043e \u0431\u044b ~31 \u0413\u0411 \u2014 \u043d\u0430 \u0433\u0440\u0430\u043d\u0438 OOM.\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u044b\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 32K\u00a0\u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433 \u2014 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0442\u044b\u0441\u044f\u0447 \u0441\u043b\u043e\u0432, \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u043e\u043c\u043f\u0442\u044b, \u0431\u0430\u0437\u044b \u0437\u043d\u0430\u043d\u0438\u0439.\u0414\u0432\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u00a0\u0431\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u0432\u0438\u0434\u0436\u0435\u0442 \u0438 API \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e.MTP-\u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435\u00a0\u2014 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430 40\u201350% \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0440\u0435\u0436\u0438\u043c\u043e\u043c.OpenAI-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 API\u00a0\u2014 \u043a\u043b\u044e\u0447\u0438 \u0438 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0438\u0441\u044c, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.\u0414\u0435\u043f\u043b\u043e\u0439\u041c\u043e\u0434\u0435\u043b\u044c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 systemd (qwen-llama-server.service), \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a \u0432\u043a\u043b\u044e\u0447\u0451\u043d. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u041e\u0421 \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438.LLM API:\u00a0\u00a0\u0427\u0430\u0442 \u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430:\u00a0\u0414\u0430\u0442\u0430: 10 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2026 \u00b7 LLMCOD \u00b7 Tesla V100-SXM2-32GB \u00b7 llama.cpp + MTP\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\/1080846\/<\/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-494235","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/494235","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=494235"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/494235\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=494235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=494235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=494235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}