{"id":1588,"date":"2025-06-19T15:16:50","date_gmt":"2025-06-19T12:16:50","guid":{"rendered":"https:\/\/gerdlezhev.ru\/?p=1588"},"modified":"2025-06-19T15:16:50","modified_gmt":"2025-06-19T12:16:50","slug":"%d0%bc%d0%be%d1%89%d1%8c-rocm-5-7-%d1%80%d0%b0%d1%81%d0%ba%d1%80%d1%8b%d0%b2%d0%b0%d1%8f-%d0%bf%d0%be%d1%82%d0%b5%d0%bd%d1%86%d0%b8%d0%b0%d0%bb-%d0%b2%d1%8b%d1%81%d0%be%d0%ba%d0%be%d0%bf%d1%80%d0%be","status":"publish","type":"post","link":"https:\/\/gerdlezhev.ru\/?p=1588","title":{"rendered":"\u041c\u043e\u0449\u044c ROCm 5.7: \u0420\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u044f \u041f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b \u0412\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0412\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 Linux"},"content":{"rendered":"\n<p><strong>AMD ROCm<\/strong> (Radeon Open Compute) \u2014 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0434\u043b\u044f GPU-\u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f. \u042d\u0442\u043e \u043a\u043b\u044e\u0447 \u043a \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u0432 \u043c\u043e\u0449\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430, \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0439 \u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u0421 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u0432\u0435\u0440\u0441\u0438\u0438 <strong>5.7 \u0438 \u0432\u044b\u0448\u0435<\/strong>, ROCm \u0441\u0442\u0430\u043b \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0435\u0435, \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0435\u0435, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u0441\u0440\u0435\u0434\u0435 Linux. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u043c\u0435\u043d\u044f\u0435\u0442 \u043b\u0430\u043d\u0434\u0448\u0430\u0444\u0442 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u041f\u0440\u043e\u0440\u044b\u0432: \u0427\u0442\u043e \u041d\u043e\u0432\u043e\u0433\u043e \u0432 ROCm 5.7+<\/strong><\/h3>\n\n\n\n<p>ROCm 5.7 \u2014 \u044d\u0442\u043e \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u041f\u041e:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0430\u044f \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 GPU<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>RDNA 3<\/strong> (RX 7900 XTX, PRO W7900) \u0441 192 AI-\u0443\u0441\u043a\u043e\u0440\u0438\u0442\u0435\u043b\u044f\u043c\u0438 \u0438 24\u201348 \u0413\u0411 \u043f\u0430\u043c\u044f\u0442\u0438 .<\/li>\n\n\n\n<li><strong>CDNA 3<\/strong> (Instinct MI300X) \u0434\u043b\u044f \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u043e\u0432.<\/li>\n\n\n\n<li><em>\u0412\u0430\u0436\u043d\u043e<\/em>: ROCm 5.7 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e <strong>\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442<\/strong> \u0441\u0442\u0430\u0440\u044b\u0435 \u043a\u0430\u0440\u0442\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Vega \u0438\u043b\u0438 Polaris) .<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 Linux<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u0434 \u044f\u0434\u0440\u0430 <strong>6.8+<\/strong> (Ubuntu 24.04, RHEL 9.6) .<\/li>\n\n\n\n<li>\u0423\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 <code>amdgpu-install<\/code> \u0438 \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u044b (<code>apt<\/code>, <code>zypper<\/code>, <code>pacman<\/code>) .<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>HSA Runtime 1.1<\/strong> \u2014 \u0441\u043d\u0438\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u0435\u043a \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0433\u0435\u0442\u0435\u0440\u043e\u0433\u0435\u043d\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 (CPU+GPU) .<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u044b\u0435 \u041a\u0435\u0439\u0441\u044b: \u0413\u0434\u0435 ROCm 5.7 \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0423\u0436\u0435 \u0421\u0435\u0433\u043e\u0434\u043d\u044f<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1. \u0413\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0418\u0418: Stable Diffusion \u0438 PyTorch<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c<\/strong>: \u041d\u0430 RX 7900 XTX \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f 512\u00d7512 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 <strong>2.1 \u0441\u0435\u043a<\/strong> (\u0432 1.8\u00d7 \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c \u043d\u0430 RDNA 2) .<\/li>\n\n\n\n<li><strong>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u041f\u0430\u043c\u044f\u0442\u0438<\/strong>:<\/li>\n\n\n\n<li>\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441 <code>bf16<\/code> \u043d\u0430 <code>fp16<\/code> \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 VRAM \u043d\u0430 <strong>30%<\/strong> .<\/li>\n\n\n\n<li>\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 <code>VAE upcasting<\/code> \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0431\u0443\u0444\u0435\u0440\u0430.<\/li>\n\n\n\n<li><strong>CK Flash Attention<\/strong> \u2014 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u043e\u0432 \u043d\u0430 15% \u0434\u043b\u044f RDNA 3 (\u0442\u0440\u0435\u0431\u0443\u0435\u0442 <code>rocm-hip-sdk<\/code>) .<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0434 Linux<\/strong>:<br><code>bash git clone https:\/\/github.com\/vladmandic\/sdnext cd sdnext .\/webui.sh --use-rocm --precision fp16<\/code><\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2. \u041a\u0440\u0443\u043f\u043d\u044b\u0435 \u042f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u041c\u043e\u0434\u0435\u043b\u0438 (Llama.cpp, Mistral)<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/strong>:<\/li>\n\n\n\n<li>Llama-13B \u043d\u0430 RX 7900 XTX: <strong>42 \u0442\u043e\u043a\u0435\u043d\u0430\/\u0441\u0435\u043a<\/strong> (\u0441 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439 <code>hipBLAS<\/code>) .<\/li>\n\n\n\n<li><strong>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f<\/strong>:<\/li>\n\n\n\n<li><code>export HIP_VISIBLE_DEVICES=1<\/code> \u2014 \u0432\u044b\u0431\u043e\u0440 GPU \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0443 \u0438\u0437 <code>rocminfo<\/code> .<\/li>\n\n\n\n<li><code>export HSA_OVERRIDE_GFX_VERSION=11.0.0<\/code> \u0434\u043b\u044f RDNA 3 .<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3. \u041d\u0430\u0443\u0447\u043d\u044b\u0435 \u0420\u0430\u0441\u0447\u0435\u0442\u044b \u0438 HPC<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PyTorch 2.1+ROCm 5.7<\/strong>:<\/li>\n\n\n\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 <strong>Bfloat16<\/strong> \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 .<\/li>\n\n\n\n<li>\u0422\u0435\u0441\u0442 \u043d\u0430 ResNet-50: <strong>12,300 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439\/\u0441\u0435\u043a<\/strong> (MI300X) .<\/li>\n\n\n\n<li><strong>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f<\/strong>:<\/li>\n\n\n\n<li>Docker-\u043e\u0431\u0440\u0430\u0437\u044b <code>rocm\/pytorch<\/code> \u0441 \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438 .<\/li>\n\n\n\n<li>\u0418\u0437\u043e\u043b\u044f\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 LXC\/Incus \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 .<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u041e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435: \u0427\u0442\u043e \u041d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0420\u0430\u0431\u043e\u0442\u044b<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>\u0422\u0438\u043f \u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/strong><\/th><th><strong>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u041c\u043e\u0434\u0435\u043b\u0435\u0439<\/strong><\/th><th><strong>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 ROCm 5.7+<\/strong><\/th><\/tr><\/thead><tbody><tr><td><strong>\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 GPU<\/strong><\/td><td>RX 7900 XTX, RX 7900 GRE<\/td><td>\u2705 (RDNA 3)<\/td><\/tr><tr><td><strong>\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 GPU<\/strong><\/td><td>PRO W7900, PRO W7800<\/td><td>\u2705<\/td><\/tr><tr><td><strong>\u0410\u041f\u0423 (APU)<\/strong><\/td><td>Ryzen 7 5700G, Ryzen 5 5600G<\/td><td>\u26a0\ufe0f (\u0442\u0440\u0435\u0431\u0443\u0435\u0442 <code>HSA_OVERRIDE_GFX_VERSION=9.0.0<\/code>)<\/td><\/tr><tr><td><strong>\u0414\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u044b<\/strong><\/td><td>Instinct MI300X, MI325X<\/td><td>\u2705 (CDNA 3)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u041a\u0440\u0438\u0442\u0438\u0447\u043d\u043e<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CPU \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 <strong>PCIe Atomics<\/strong> (Zen 1+, Intel Haswell+) .<\/li>\n\n\n\n<li>16+ \u0413\u0411 \u041e\u0417\u0423 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 LLM.<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 Linux<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0422\u044e\u043d\u0438\u043d\u0433 MIOpen<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>export MIOPEN_FIND_MODE=FAST<\/code> \u2014 \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u00ab\u043f\u0440\u043e\u0433\u0440\u0435\u0432\u00bb \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0432 5 \u0440\u0430\u0437 .<\/li>\n\n\n\n<li><code>export MIOPEN_FIND_ENFORCE=SEARCH<\/code> \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 \u0443\u0449\u0435\u0440\u0431 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u041f\u0430\u043c\u044f\u0442\u044c\u044e<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0414\u043b\u044f \u0410\u041f\u0423: \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 VRAM \u0432 UEFI (<code>UMA_SPECIFIED<\/code>) \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <strong>Unified Memory<\/strong> \u0447\u0435\u0440\u0435\u0437 <code>force-host-allocation-APU<\/code> .<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043f\u043e\u0434 \u0421\u043f\u0435\u0446\u0437\u0430\u0434\u0430\u0447\u0438<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 <code>rocBLAS<\/code> \u0441 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438 \u0444\u043b\u0430\u0433\u0430\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>-a \"gfx1100\"<\/code> \u0434\u043b\u044f RX 7900) .<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u0420\u0435\u0448\u0435\u043d\u0438\u044f<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041e\u0448\u0438\u0431\u043a\u0430 DKMS \u043d\u0430 Ubuntu 22.04<\/strong>:<br><code>bash sudo apt purge linux-modules-6.2.0-060200-generic # \u0427\u0438\u0441\u0442\u043a\u0430 \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u044f\u0434\u0435\u0440 sudo apt install linux-image-unsigned-6.2.0-39-generic<\/code> .<\/li>\n\n\n\n<li><strong>\u041d\u0435\u0442 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 NVML \u0432 PyTorch<\/strong>:<br>\u0418\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u043d\u0435 \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 .<\/li>\n\n\n\n<li><strong>\u041c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0440\u0442 ROCm<\/strong>:<br>\u041f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043a\u044d\u0448 \u044f\u0434\u0435\u0440 (\u0434\u043e 8 \u043c\u0438\u043d\u0443\u0442), \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u2014 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u044b .<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u0411\u0443\u0434\u0443\u0449\u0435\u0435 ROCm: \u0427\u0442\u043e \u0416\u0434\u0430\u0442\u044c \u0432 2025\u20132026<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 RDNA 4<\/strong> (RX 9070 XT, Radeon AI PRO R9700) \u2014 \u043e\u0431\u0435\u0449\u0430\u044e\u0442 <strong>3\u00d7 \u043f\u0440\u0438\u0440\u043e\u0441\u0442 AI-\u043f\u0435\u0440\u0444\u043e\u0440\u043c\u0430\u043d\u0441\u0430<\/strong> .<\/li>\n\n\n\n<li><strong>ROCm 6.0+<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0423\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 Windows (\u0447\u0435\u0440\u0435\u0437 HIP SDK) .<\/li>\n\n\n\n<li>\u0413\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b <strong>Radeon Software 23.20+<\/strong> \u0441 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e .<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 OpenMP 5.2<\/strong> \u2014 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0446\u0438\u044f \u0437\u0430\u0434\u0430\u0447 CPU\/GPU.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u258d\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435: \u041f\u043e\u0447\u0435\u043c\u0443 ROCm \u2014 \u042d\u0442\u043e \u0412\u044b\u0431\u043e\u0440 \u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u0430<\/strong><\/h3>\n\n\n\n<p>ROCm 5.7+ \u2014 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 CUDA. \u042d\u0442\u043e <strong>\u043e\u0442\u043a\u0440\u044b\u0442\u0430\u044f \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430<\/strong> \u0434\u043b\u044f Linux, \u0433\u0434\u0435:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/strong> RDNA 3\/CDNA 3 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c\u0430 \u0441 \u0442\u043e\u043f\u043e\u0432\u044b\u043c\u0438 NVIDIA GPU;<\/li>\n\n\n\n<li><strong>\u0413\u0438\u0431\u043a\u043e\u0441\u0442\u044c<\/strong> \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 (\u043f\u0430\u043a\u0435\u0442\u044b, Docker, \u0440\u0443\u0447\u043d\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430) \u043f\u043e\u0434 \u043b\u044e\u0431\u0443\u044e \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443;<\/li>\n\n\n\n<li><strong>\u0421\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e<\/strong> \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0434\u043e\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0430\u0442\u0447\u0438 \u0434\u043b\u044f Polaris\/Vega) .<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u0421\u043e\u0432\u0435\u0442<\/strong>: \u041d\u0430\u0447\u043d\u0438\u0442\u0435 \u0441 <a href=\"https:\/\/rocm.docs.amd.com\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 ROCm<\/a> \u0438 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 Docker-\u043e\u0431\u0440\u0430\u0437\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438.<\/p>\n<\/blockquote>\n\n\n\n<p>ROCm \u0441\u0442\u0438\u0440\u0430\u0435\u0442 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u0435\u0436\u0434\u0443 \u00ab\u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u043c\u00bb \u0438 \u00ab\u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u043e\u0432\u044b\u043c\u00bb \u0436\u0435\u043b\u0435\u0437\u043e\u043c, \u0434\u0435\u043b\u0430\u044f \u0441\u0443\u043f\u0435\u0440\u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u0435. \u042d\u0442\u043e \u0431\u0443\u0434\u0443\u0449\u0435\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0436\u0435 \u0437\u0434\u0435\u0441\u044c.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AMD ROCm (Radeon Open Compute) \u2014 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0434\u043b\u044f GPU-\u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f. \u042d\u0442\u043e \u043a\u043b\u044e\u0447 \u043a \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u0432 \u043c\u043e\u0449\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430, \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0439 \u0438 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u0421 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u0432\u0435\u0440\u0441\u0438\u0438 5.7 \u0438 \u0432\u044b\u0448\u0435, ROCm \u0441\u0442\u0430\u043b \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0435\u0435, \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0435\u0435, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u0441\u0440\u0435\u0434\u0435 Linux. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u043c\u0435\u043d\u044f\u0435\u0442 \u043b\u0430\u043d\u0434\u0448\u0430\u0444\u0442 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. \u258d\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1588","post","type-post","status-publish","format-standard","hentry","category-6"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=\/wp\/v2\/posts\/1588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1588"}],"version-history":[{"count":1,"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=\/wp\/v2\/posts\/1588\/revisions"}],"predecessor-version":[{"id":1589,"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=\/wp\/v2\/posts\/1588\/revisions\/1589"}],"wp:attachment":[{"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gerdlezhev.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}