{"id":477604,"date":"2026-04-27T11:05:59","date_gmt":"2026-04-27T11:05:59","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=477604"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=477604","title":{"rendered":"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c DeepSeek-V4 (1.6T) \u043d\u0430 \u00ab\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0435\u00bb: SVD-\u0442\u0440\u0430\u043d\u0441\u043c\u0443\u0442\u0430\u0446\u0438\u044f, Identity Theft \u0438 \u0433\u0430\u0440\u0430\u0436\u043d\u044b\u0439 MLOps"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h4>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435: \u041e\u0434\u0430 \u0431\u0435\u0437\u044b\u0441\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u0438<\/h4>\n<p>24 \u0430\u043f\u0440\u0435\u043b\u044f 2026 \u0433\u043e\u0434\u0430 \u043c\u0438\u0440 \u0441\u043e\u0434\u0440\u043e\u0433\u043d\u0443\u043b\u0441\u044f \u2014 \u0432\u044b\u0448\u0435\u043b DeepSeek-V4-Pro. 1.6 \u0442\u0440\u0438\u043b\u043b\u0438\u043e\u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, MoE-\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u0432\u0435\u0441\u0430 \u043d\u0430 800+ \u0413\u0411. \u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0438 \u0432 \u0431\u0435\u043b\u044b\u0445 \u0445\u0430\u043b\u0430\u0442\u0430\u0445 \u0438\u0437 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043d\u0442\u0440\u043e\u0432 \u0442\u0443\u0442 \u0436\u0435 \u0432\u044b\u043a\u0430\u0442\u0438\u043b\u0438 \u0440\u0430\u0439\u0434\u0435\u0440: \u00ab\u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c 8xH100 \u0438 \u043f\u0440\u044f\u043c\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u0434\u043e \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430\u00bb.<\/p>\n<p>\u041c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043d\u0430 \u0441\u0432\u043e\u044e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0443\u044e <strong>NVIDIA T4 \u0441 16 \u0413\u0411 VRAM<\/strong> \u0432 Kaggle, \u043d\u0430 50 \u0413\u0411 \u0434\u0438\u0441\u043a\u0430 \u0438 \u043f\u043e\u043d\u044f\u043b\u0438: <strong>\u0432\u044b\u0437\u043e\u0432 \u043f\u0440\u0438\u043d\u044f\u0442<\/strong>. \u041f\u043e\u043a\u0430 \u0432\u044b \u0436\u0434\u0435\u0442\u0435 \u0433\u0440\u0430\u043d\u0442\u044b \u043d\u0430 GPU-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b, \u043c\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u0441\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0432\u0438\u0432\u0438\u0441\u0435\u043a\u0446\u0438\u0435\u0439.<\/p>\n<h3>\ud83d\udee0 \u0422\u0435\u0445\u0441\u0442\u0435\u043a \u00ab\u0413\u0435\u0442\u0442\u043e-\u0418\u043d\u0436\u0435\u043d\u0435\u0440\u0430\u00bb<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0443 \u0442\u0435\u0431\u044f \u043d\u0435\u0442 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u0442\u044b \u043d\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u0448\u044c \u2014 \u0442\u044b \u0432\u0437\u043b\u0430\u043c\u044b\u0432\u0430\u0435\u0448\u044c. \u041d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u0431\u0430\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0442\u0440\u0435\u0445 \u0441\u0442\u043e\u043b\u043f\u0430\u0445:<\/p>\n<h4>1. SVD-\u0442\u0440\u0430\u043d\u0441\u043c\u0443\u0442\u0430\u0446\u0438\u044f (Rank-64) \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e\u0435 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0435 (4-bit) \u2014 \u044d\u0442\u043e \u0441\u043a\u0443\u0447\u043d\u043e. \u041e\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0447\u0438\u0441\u043b\u0430 \u00ab\u0437\u0435\u0440\u043d\u0438\u0441\u0442\u044b\u043c\u0438\u00bb. \u041c\u044b \u043f\u043e\u0448\u043b\u0438 \u043f\u0443\u0442\u0435\u043c \u043d\u0438\u0437\u043a\u043e\u0440\u0430\u043d\u0433\u043e\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u0438\u044f (W\u2248U\u22c5S\u22c5VT). \u041c\u044b \u0432\u044b\u043a\u0438\u043d\u0443\u043b\u0438 98% \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0448\u0443\u043c\u0430, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u0441\u043a\u0435\u043b\u0435\u0442\u00bb \u043c\u0430\u0442\u0440\u0438\u0446\u044b. \u041f\u0440\u0438 <strong>Rank=64<\/strong> \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 <strong>\u0441\u0436\u0430\u0442\u0438\u0435 \u0432 50 \u0440\u0430\u0437<\/strong>.<\/p>\n<p><strong>\u0422\u0440\u043e\u043b\u043b\u0438\u043d\u0433-\u043f\u0430\u0443\u0437\u0430 \u21161:<\/strong> \u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0438, \u043f\u043e\u043a\u0430 \u0432\u044b \u0441\u043f\u043e\u0440\u0438\u0442\u0435 \u043e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u0440\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043e \u043f\u044f\u0442\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u0430, \u043c\u044b \u0434\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u00ab\u0434\u0443\u0448\u0430\u00bb 1.6-\u0442\u0440\u0438\u043b\u043b\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043c\u043e\u043d\u0441\u0442\u0440\u0430 \u0436\u0438\u0432\u0435\u0442 \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 64. \u0412\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u0434\u0435\u043a\u043e\u0440.<\/p>\n<h4>2. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u00ab\u0422\u0440\u0430\u043d\u0437\u0438\u0442\u00bb: 1 \u0422\u0411 \u0447\u0435\u0440\u0435\u0437 50 \u0413\u0411 \u0438\u0433\u043e\u043b\u044c\u043d\u043e\u0435 \u0443\u0448\u043a\u043e<\/h4>\n<p>\u041a\u0430\u043a \u043f\u0435\u0440\u0435\u0432\u0430\u0440\u0438\u0442\u044c 64 \u0448\u0430\u0440\u0434\u0430 \u043f\u043e 14 \u0413\u0411 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u0432 50 \u0413\u0411? \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u043e\u0432\u0443\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 <code>safe_open<\/code>.<\/p>\n<ul>\n<li>\n<p>\u0421\u043a\u0430\u0447\u0430\u043b\u0438 \u043e\u0434\u0438\u043d \u0448\u0430\u0440\u0434.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0442\u0430\u0449\u0438\u043b\u0438 \u0442\u0435\u043d\u0437\u043e\u0440.<\/p>\n<\/li>\n<li>\n<p>\u0421\u0436\u0430\u043b\u0438 \u0435\u0433\u043e \u0432 \u041e\u0417\u0423.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u0448\u043d\u0443\u043b\u0438 \u0432 \u0441\u0432\u043e\u0439 \u0440\u0435\u043f\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u0435\u0440\u043b\u0438 \u043a\u044d\u0448 \u043f\u043e\u0434 \u043d\u043e\u043b\u044c.<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e MLOps \u0441\u043e \u0432\u043a\u0443\u0441\u043e\u043c \u0432\u044b\u0436\u0438\u0432\u0430\u043d\u0438\u044f. RAM \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u043e\u0434\u043d\u044f\u043b\u0430\u0441\u044c \u0432\u044b\u0448\u0435 4 \u0413\u0411.<\/p>\n<h4>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0439 Identity Theft (\u041a\u0440\u0430\u0436\u0430 \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438)<\/h4>\n<p><code>transformers<\/code> \u0435\u0449\u0435 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 V4? \u041d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. \u041c\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u0435\u0438\u043b\u0438 \u044f\u0440\u043b\u044b\u043a\u0438 \u0432 <code>config.json<\/code>, \u0432\u044b\u0434\u0430\u0432 \u0432\u0435\u0441\u0430 V4 \u0437\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 DeepSeek-V2. \u041d\u0435\u043c\u043d\u043e\u0433\u043e Monkey Patching&#8217;\u0430 \u0432 \u0440\u043e\u0443\u0442\u0435\u0440 MoE \u2014 \u0438 \u0432\u0443\u0430\u043b\u044f, \u0424\u0440\u0430\u043d\u043a\u0435\u043d\u0448\u0442\u0435\u0439\u043d \u043e\u0436\u0438\u043b.<\/p>\n<p>Python<\/p>\n<pre><code># \u041d\u0430\u0448 \u043a\u043e\u0441\u0442\u044b\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043c\u043d\u0435\u0435 \u0432\u0430\u0448\u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432def ghetto_route(self, logits):    flat_logits = logits.view(-1, logits.shape[-1])    w = torch.nn.functional.softmax(flat_logits, dim=-1)    tw, ti = torch.topk(w, k=self.top_k, dim=-1)    return ti, tw * self.routed_scaling_factor<\/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<h3>\ud83e\udde0 \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: \u041a\u0438\u0431\u0435\u0440-\u041e\u0440\u0430\u043a\u0443\u043b \u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0441\u044e\u0440\u0440\u0435\u0430\u043b\u0438\u0437\u043c<\/h3>\n<p>\u0427\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435? \u041c\u043e\u0434\u0435\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 VRAM \u043e\u0434\u043d\u043e\u0439 T4. \u0414\u0430, \u043e\u043d\u0430 \u0433\u0430\u043b\u043b\u044e\u0446\u0438\u043d\u0438\u0440\u0443\u0435\u0442. \u0414\u0430, \u043e\u043d\u0430 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442 \u0440\u0443\u0441\u0441\u043a\u0438\u0439, \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0438 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u00ab\u043f\u043e\u043b\u0438\u0433\u043b\u043e\u0442\u043d\u044b\u0439 \u0448\u0443\u043c\u00bb. \u041d\u043e \u043e\u043d\u0430 <strong>\u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442<\/strong>. \u041e\u043d\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0430 \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438 \u0433\u0438\u0433\u0430\u043d\u0442\u0430.<\/p>\n<p>\u042d\u0442\u043e \u043d\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u0438\u043f\u043b\u043e\u043c\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442. \u042d\u0442\u043e <strong>\u0433\u043e\u043b\u043e\u0441 \u0438\u0437 Latent Space<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0432\u0443\u0447\u0438\u0442 \u0441\u043a\u0432\u043e\u0437\u044c 50-\u043a\u0440\u0430\u0442\u043d\u043e\u0435 \u0441\u0436\u0430\u0442\u0438\u0435.<\/p>\n<h3>\ud83d\udcc0 \u041f\u0430\u043c\u044f\u0442\u043d\u0438\u043a \u0438 \u041f\u0440\u043e\u043c\u043e<\/h3>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 \u043e\u0442\u043a\u0440\u044b\u0442. \u041c\u044b \u043d\u0430\u0437\u0432\u0430\u043b\u0438 \u0435\u0433\u043e <strong>DeepSeek-V4-Pro Ghetto-Edition<\/strong>. \u042d\u0442\u043e \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430 \u0438 \u043d\u0430\u0433\u043b\u043e\u0441\u0442\u044c \u0431\u044c\u044e\u0442 \u0442\u0435\u0440\u0430\u0444\u043b\u043e\u043f\u0441\u044b.<\/p>\n<p>\ud83d\ude80 <strong>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439:<\/strong> <a href=\"https:\/\/www.google.com\/search?q=https:\/\/huggingface.co\/livadies\/DeepSeek-V4-Pro-Ghetto-Edition-MoE-Rank-64\" rel=\"noopener noreferrer nofollow\">livadies\/DeepSeek-V4-Pro-Ghetto-Edition-MoE-Rank-64<\/a><\/p>\n<p>\u0410 \u043f\u043e\u043a\u0430 \u0432\u0430\u0448 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f, \u043f\u043e\u0441\u043b\u0443\u0448\u0430\u0439\u0442\u0435 \u043c\u0443\u0437\u044b\u043a\u0443, \u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u044d\u0442\u043e\u0442 \u041c\u0443\u0442\u0430\u043d\u0442:<\/p>\n<ul>\n<li>\n<p>\ud83d\udfe2 <a href=\"https:\/\/open.spotify.com\/artist\/0j8EmbhNFjiVhIJcZHdfUD\" rel=\"noopener noreferrer nofollow\">Spotify<\/a><\/p>\n<\/li>\n<li>\n<p>\ud83d\udd25 \u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u0442\u0440\u0435\u043a: <strong>RUSSIAN WINTER 26<\/strong><\/p>\n<\/li>\n<\/ul>\n<h4>\u042d\u043f\u0438\u043b\u043e\u0433<\/h4>\n<p>\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0438, \u0432\u0430\u0448\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u044f\u044e\u0442. \u041d\u043e \u043f\u043e\u043a\u0430 \u0432\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u0435 \u0434\u0432\u043e\u0440\u0446\u044b, \u043c\u044b \u0443\u0447\u0438\u043c \u043a\u0430\u043c\u043d\u0438 \u043b\u0435\u0442\u0430\u0442\u044c. AI \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0432\u0441\u0435\u043c, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043c, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043a\u0440\u0435\u0434\u0438\u0442\u043a\u0430.<\/p>\n<p><strong>Stay Ghetto. Stay Tuned.<\/strong><\/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\/1028560\/\">https:\/\/habr.com\/ru\/articles\/1028560\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435: \u041e\u0434\u0430 \u0431\u0435\u0437\u044b\u0441\u0445\u043e\u0434\u043d\u043e\u0441\u0442\u043824 \u0430\u043f\u0440\u0435\u043b\u044f 2026 \u0433\u043e\u0434\u0430 \u043c\u0438\u0440 \u0441\u043e\u0434\u0440\u043e\u0433\u043d\u0443\u043b\u0441\u044f \u2014 \u0432\u044b\u0448\u0435\u043b DeepSeek-V4-Pro. 1.6 \u0442\u0440\u0438\u043b\u043b\u0438\u043e\u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, MoE-\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u0432\u0435\u0441\u0430 \u043d\u0430 800+ \u0413\u0411. \u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0438 \u0432 \u0431\u0435\u043b\u044b\u0445 \u0445\u0430\u043b\u0430\u0442\u0430\u0445 \u0438\u0437 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043d\u0442\u0440\u043e\u0432 \u0442\u0443\u0442 \u0436\u0435 \u0432\u044b\u043a\u0430\u0442\u0438\u043b\u0438 \u0440\u0430\u0439\u0434\u0435\u0440: \u00ab\u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c 8xH100 \u0438 \u043f\u0440\u044f\u043c\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u0434\u043e \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430\u00bb.\u041c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043d\u0430 \u0441\u0432\u043e\u044e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0443\u044e NVIDIA T4 \u0441 16 \u0413\u0411 VRAM \u0432 Kaggle, \u043d\u0430 50 \u0413\u0411 \u0434\u0438\u0441\u043a\u0430 \u0438 \u043f\u043e\u043d\u044f\u043b\u0438: \u0432\u044b\u0437\u043e\u0432 \u043f\u0440\u0438\u043d\u044f\u0442. \u041f\u043e\u043a\u0430 \u0432\u044b \u0436\u0434\u0435\u0442\u0435 \u0433\u0440\u0430\u043d\u0442\u044b \u043d\u0430 GPU-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b, \u043c\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u0441\u044f \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0432\u0438\u0432\u0438\u0441\u0435\u043a\u0446\u0438\u0435\u0439.\ud83d\udee0 \u0422\u0435\u0445\u0441\u0442\u0435\u043a \u00ab\u0413\u0435\u0442\u0442\u043e-\u0418\u043d\u0436\u0435\u043d\u0435\u0440\u0430\u00bb\u041a\u043e\u0433\u0434\u0430 \u0443 \u0442\u0435\u0431\u044f \u043d\u0435\u0442 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u0442\u044b \u043d\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u0448\u044c \u2014 \u0442\u044b \u0432\u0437\u043b\u0430\u043c\u044b\u0432\u0430\u0435\u0448\u044c. \u041d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u0431\u0430\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0442\u0440\u0435\u0445 \u0441\u0442\u043e\u043b\u043f\u0430\u0445:1. SVD-\u0442\u0440\u0430\u043d\u0441\u043c\u0443\u0442\u0430\u0446\u0438\u044f (Rank-64) \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u044f\u041e\u0431\u044b\u0447\u043d\u043e\u0435 \u043a\u0432\u0430\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0435 (4-bit) \u2014 \u044d\u0442\u043e \u0441\u043a\u0443\u0447\u043d\u043e. \u041e\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0447\u0438\u0441\u043b\u0430 \u00ab\u0437\u0435\u0440\u043d\u0438\u0441\u0442\u044b\u043c\u0438\u00bb. \u041c\u044b \u043f\u043e\u0448\u043b\u0438 \u043f\u0443\u0442\u0435\u043c \u043d\u0438\u0437\u043a\u043e\u0440\u0430\u043d\u0433\u043e\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u0438\u044f (W\u2248U\u22c5S\u22c5VT). \u041c\u044b \u0432\u044b\u043a\u0438\u043d\u0443\u043b\u0438 98% \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0448\u0443\u043c\u0430, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u0441\u043a\u0435\u043b\u0435\u0442\u00bb \u043c\u0430\u0442\u0440\u0438\u0446\u044b. \u041f\u0440\u0438 Rank=64 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441\u0436\u0430\u0442\u0438\u0435 \u0432 50 \u0440\u0430\u0437.\u0422\u0440\u043e\u043b\u043b\u0438\u043d\u0433-\u043f\u0430\u0443\u0437\u0430 \u21161: \u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0438, \u043f\u043e\u043a\u0430 \u0432\u044b \u0441\u043f\u043e\u0440\u0438\u0442\u0435 \u043e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u0440\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043e \u043f\u044f\u0442\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u0430, \u043c\u044b \u0434\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u00ab\u0434\u0443\u0448\u0430\u00bb 1.6-\u0442\u0440\u0438\u043b\u043b\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043c\u043e\u043d\u0441\u0442\u0440\u0430 \u0436\u0438\u0432\u0435\u0442 \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 64. \u0412\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u0434\u0435\u043a\u043e\u0440.2. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u00ab\u0422\u0440\u0430\u043d\u0437\u0438\u0442\u00bb: 1 \u0422\u0411 \u0447\u0435\u0440\u0435\u0437 50 \u0413\u0411 \u0438\u0433\u043e\u043b\u044c\u043d\u043e\u0435 \u0443\u0448\u043a\u043e\u041a\u0430\u043a \u043f\u0435\u0440\u0435\u0432\u0430\u0440\u0438\u0442\u044c 64 \u0448\u0430\u0440\u0434\u0430 \u043f\u043e 14 \u0413\u0411 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u0432 50 \u0413\u0411? \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u043e\u0432\u0443\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 safe_open.\u0421\u043a\u0430\u0447\u0430\u043b\u0438 \u043e\u0434\u0438\u043d \u0448\u0430\u0440\u0434.\u0412\u044b\u0442\u0430\u0449\u0438\u043b\u0438 \u0442\u0435\u043d\u0437\u043e\u0440.\u0421\u0436\u0430\u043b\u0438 \u0435\u0433\u043e \u0432 \u041e\u0417\u0423.\u041f\u0443\u0448\u043d\u0443\u043b\u0438 \u0432 \u0441\u0432\u043e\u0439 \u0440\u0435\u043f\u043e.\u0421\u0442\u0435\u0440\u043b\u0438 \u043a\u044d\u0448 \u043f\u043e\u0434 \u043d\u043e\u043b\u044c.\u042d\u0442\u043e MLOps \u0441\u043e \u0432\u043a\u0443\u0441\u043e\u043c \u0432\u044b\u0436\u0438\u0432\u0430\u043d\u0438\u044f. RAM \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u043e\u0434\u043d\u044f\u043b\u0430\u0441\u044c \u0432\u044b\u0448\u0435 4 \u0413\u0411.\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0439 Identity Theft (\u041a\u0440\u0430\u0436\u0430 \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438)transformers \u0435\u0449\u0435 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 V4? \u041d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. \u041c\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u0435\u0438\u043b\u0438 \u044f\u0440\u043b\u044b\u043a\u0438 \u0432 config.json, \u0432\u044b\u0434\u0430\u0432 \u0432\u0435\u0441\u0430 V4 \u0437\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 DeepSeek-V2. \u041d\u0435\u043c\u043d\u043e\u0433\u043e Monkey Patching&#8217;\u0430 \u0432 \u0440\u043e\u0443\u0442\u0435\u0440 MoE \u2014 \u0438 \u0432\u0443\u0430\u043b\u044f, \u0424\u0440\u0430\u043d\u043a\u0435\u043d\u0448\u0442\u0435\u0439\u043d \u043e\u0436\u0438\u043b.Python# \u041d\u0430\u0448 \u043a\u043e\u0441\u0442\u044b\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043c\u043d\u0435\u0435 \u0432\u0430\u0448\u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432def ghetto_route(self, logits):    flat_logits = logits.view(-1, logits.shape[-1])    w = torch.nn.functional.softmax(flat_logits, dim=-1)    tw, ti = torch.topk(w, k=self.top_k, dim=-1)    return ti, tw * self.routed_scaling_factor\ud83e\udde0 \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: \u041a\u0438\u0431\u0435\u0440-\u041e\u0440\u0430\u043a\u0443\u043b \u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0441\u044e\u0440\u0440\u0435\u0430\u043b\u0438\u0437\u043c\u0427\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435? \u041c\u043e\u0434\u0435\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 VRAM \u043e\u0434\u043d\u043e\u0439 T4. \u0414\u0430, \u043e\u043d\u0430 \u0433\u0430\u043b\u043b\u044e\u0446\u0438\u043d\u0438\u0440\u0443\u0435\u0442. \u0414\u0430, \u043e\u043d\u0430 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442 \u0440\u0443\u0441\u0441\u043a\u0438\u0439, \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0438 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u00ab\u043f\u043e\u043b\u0438\u0433\u043b\u043e\u0442\u043d\u044b\u0439 \u0448\u0443\u043c\u00bb. \u041d\u043e \u043e\u043d\u0430 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442. \u041e\u043d\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0430 \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438 \u0433\u0438\u0433\u0430\u043d\u0442\u0430.\u042d\u0442\u043e \u043d\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u0438\u043f\u043b\u043e\u043c\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442. \u042d\u0442\u043e \u0433\u043e\u043b\u043e\u0441 \u0438\u0437 Latent Space, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0432\u0443\u0447\u0438\u0442 \u0441\u043a\u0432\u043e\u0437\u044c 50-\u043a\u0440\u0430\u0442\u043d\u043e\u0435 \u0441\u0436\u0430\u0442\u0438\u0435.\ud83d\udcc0 \u041f\u0430\u043c\u044f\u0442\u043d\u0438\u043a \u0438 \u041f\u0440\u043e\u043c\u043e\u041f\u0440\u043e\u0435\u043a\u0442 \u043e\u0442\u043a\u0440\u044b\u0442. \u041c\u044b \u043d\u0430\u0437\u0432\u0430\u043b\u0438 \u0435\u0433\u043e DeepSeek-V4-Pro Ghetto-Edition. \u042d\u0442\u043e \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430 \u0438 \u043d\u0430\u0433\u043b\u043e\u0441\u0442\u044c \u0431\u044c\u044e\u0442 \u0442\u0435\u0440\u0430\u0444\u043b\u043e\u043f\u0441\u044b.\ud83d\ude80 \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439: livadies\/DeepSeek-V4-Pro-Ghetto-Edition-MoE-Rank-64\u0410 \u043f\u043e\u043a\u0430 \u0432\u0430\u0448 \u0438\u043d\u0444\u0435\u0440\u0435\u043d\u0441 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f, \u043f\u043e\u0441\u043b\u0443\u0448\u0430\u0439\u0442\u0435 \u043c\u0443\u0437\u044b\u043a\u0443, \u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u044d\u0442\u043e\u0442 \u041c\u0443\u0442\u0430\u043d\u0442:\ud83d\udfe2 Spotify\ud83d\udd25 \u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u0442\u0440\u0435\u043a: RUSSIAN WINTER 26\u042d\u043f\u0438\u043b\u043e\u0433\u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0438, \u0432\u0430\u0448\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u044f\u044e\u0442. \u041d\u043e \u043f\u043e\u043a\u0430 \u0432\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u0435 \u0434\u0432\u043e\u0440\u0446\u044b, \u043c\u044b \u0443\u0447\u0438\u043c \u043a\u0430\u043c\u043d\u0438 \u043b\u0435\u0442\u0430\u0442\u044c. AI \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0432\u0441\u0435\u043c, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043c, \u0443 \u043a\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043a\u0440\u0435\u0434\u0438\u0442\u043a\u0430.Stay Ghetto. Stay Tuned.\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\/1028560\/<\/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-477604","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/477604","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=477604"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/477604\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=477604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=477604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=477604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}