{"id":403077,"date":"2024-06-29T16:53:56","date_gmt":"2024-06-29T16:53:56","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=403077"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=403077","title":{"rendered":"<span>\u0412 Windows Subsystem for Linux (WSL) \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e\u0443\u0441\u043a\u043e\u0440\u0438\u0442\u0435\u043b\u044f\u0445<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/79\/li\/gf\/79ligffuo6ibjchthmpiwocm_b4.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/79\/li\/gf\/79ligffuo6ibjchthmpiwocm_b4.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  Microsoft <a href=\"https:\/\/blogs.windows.com\/windowsdeveloper\/2020\/06\/17\/gpu-accelerated-ml-training-inside-the-windows-subsystem-for-linux\/\" rel=\"nofollow\">\u043e\u0431\u044a\u044f\u0432\u0438\u043b\u0430<\/a>, \u0447\u0442\u043e \u0432 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0435 WSL \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u043a Linux-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. \u0422\u0430\u043a\u0436\u0435 \u0432 WSL \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 GPU. \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/developer.nvidia.com\/cuda\/wsl\" rel=\"nofollow\">NVIDIA CUDA<\/a> \u0438 <a href=\"https:\/\/github.com\/microsoft\/DirectML\" rel=\"nofollow\">DirectML<\/a>. \u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Linux-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/the-windows-subsystem-for-linux-build-2020-summary\/#wsl-gpu\" rel=\"nofollow\">\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/a> TensorFlow \u0438 <a href=\"https:\/\/developer.nvidia.com\/sites\/default\/files\/akamai\/cuda\/images\/WSL-launch-stack-diagram-HR-r3.png\" rel=\"nofollow\">PyTorch<\/a>.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432 WSL \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430\u043c\u0438 Microsoft \u0447\u0435\u0440\u0435\u0437 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a GPU \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/microsoft\/WSL2-Linux-Kernel\/tree\/linux-msft-wsl-4.19.y\/drivers\/gpu\/dxgkrnl\" rel=\"nofollow\">dxgkrnl<\/a>, \u0434\u043b\u044f \u0448\u0442\u0430\u0442\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 Linux, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043d\u0430 \u0431\u0430\u0437\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 Wayland. <\/p>\n<p>  \u0412\u0434\u043e\u0431\u0430\u0432\u043e\u043a Microsoft \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <a href=\"https:\/\/devblogs.microsoft.com\/directx\/directx-heart-linux\/\" rel=\"nofollow\">libd3d12.so<\/a>. \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u044d\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 API Direct3D 12. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 libd3d12.so \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u043e\u0439 \u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u043c\u0438 Linux, \u043a\u0430\u043a Ubuntu, Debian, Fedora, Centos, SUSE. <\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API Direct3D 12 \u0432 WSL \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 CUDA, DirectML \u0438 OpenCL. \u041f\u0440\u0438\u0447\u0435\u043c NVIDIA \u0443\u0436\u0435 <a href=\"https:\/\/developer.nvidia.com\/cuda\/wsl\/download\" rel=\"nofollow\">\u043f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0430<\/a> \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0434\u043b\u044f CUDA (GEFORCE \u0438 QUADRO), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f WSL-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f. \u041d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 <a href=\"https:\/\/docs.nvidia.com\/cuda\/wsl-user-guide\/index.html\" rel=\"nofollow\">\u0433\u0430\u0439\u0434<\/a> \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e CUDA \u0432 WSL.<\/p>\n<p>  \u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 2004 (Windows 10 May 2020 Update) \u0434\u043b\u044f Linux-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0430 WSL2. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u043e\u0435 Microsoft \u0434\u043b\u044f <a href=\"https:\/\/github.com\/microsoft\/WSL2-Linux-Kernel\" rel=\"nofollow\">WSL2 \u044f\u0434\u0440\u043e<\/a> \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u044f\u0434\u0440\u0430 Linux 4.19.<\/p>\n<blockquote><p>\u0421\u043c. \u0442\u0430\u043a\u0436\u0435: <\/p>\n<ul>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/vdsina\/blog\/500958\/\">\u041f\u043e\u0447\u0435\u043c\u0443 WSL 2 \u0432 13 \u0440\u0430\u0437 \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c WSL: \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u044f \u043e\u0442 Insider Preview\u00bb<\/a><\/li>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/microsoft\/blog\/476026\/\">\u041a\u0440\u0443\u0442\u044b\u0435 \u043b\u0430\u0439\u0444\u0445\u0430\u043a\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 WSL (\u041f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 Windows \u0434\u043b\u044f Linux )\u00bb<\/a><\/li>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/461663\/\">\u0420\u0430\u0441\u0441\u043a\u0430\u0437 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a Linux \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u0432 Windows\u00bb<\/a><\/li>\n<\/ul>\n<\/blockquote>\n<p>  <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/the-windows-subsystem-for-linux-build-2020-summary\/#wsl-gpu\" rel=\"nofollow\">devblogs.microsoft.com\/commandline\/the-windows-subsystem-for-linux-build-2020-summary\/#wsl-gpu<\/a><\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/507306\/\"> https:\/\/habr.com\/ru\/articles\/507306\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/79\/li\/gf\/79ligffuo6ibjchthmpiwocm_b4.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/79\/li\/gf\/79ligffuo6ibjchthmpiwocm_b4.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  Microsoft <a href=\"https:\/\/blogs.windows.com\/windowsdeveloper\/2020\/06\/17\/gpu-accelerated-ml-training-inside-the-windows-subsystem-for-linux\/\" rel=\"nofollow\">\u043e\u0431\u044a\u044f\u0432\u0438\u043b\u0430<\/a>, \u0447\u0442\u043e \u0432 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0435 WSL \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u043a Linux-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. \u0422\u0430\u043a\u0436\u0435 \u0432 WSL \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 GPU. \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/developer.nvidia.com\/cuda\/wsl\" rel=\"nofollow\">NVIDIA CUDA<\/a> \u0438 <a href=\"https:\/\/github.com\/microsoft\/DirectML\" rel=\"nofollow\">DirectML<\/a>. \u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Linux-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/the-windows-subsystem-for-linux-build-2020-summary\/#wsl-gpu\" rel=\"nofollow\">\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/a> TensorFlow \u0438 <a href=\"https:\/\/developer.nvidia.com\/sites\/default\/files\/akamai\/cuda\/images\/WSL-launch-stack-diagram-HR-r3.png\" rel=\"nofollow\">PyTorch<\/a>.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-403077","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/403077","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=403077"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/403077\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=403077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=403077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=403077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}