{"id":179,"date":"2021-06-04T15:46:28","date_gmt":"2021-06-04T22:46:28","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/windowsai\/?p=179"},"modified":"2021-06-07T12:58:40","modified_gmt":"2021-06-07T19:58:40","slug":"windows-ml-nuget-package-1-8-0-official-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/windowsai\/windows-ml-nuget-package-1-8-0-official-release\/","title":{"rendered":"Windows ML NuGet Package 1.8.0 official release"},"content":{"rendered":"<p style=\"text-align: justify;\"><a class=\"Hyperlink SCXW46921576 BCX8\" href=\"https:\/\/www.nuget.org\/packages\/Microsoft.AI.MachineLearning\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW46921576 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW46921576 BCX8\" data-ccp-charstyle=\"Hyperlink\">Windows M<\/span><span class=\"NormalTextRun SCXW46921576 BCX8\" data-ccp-charstyle=\"Hyperlink\">L NuGet<\/span><span class=\"NormalTextRun SCXW46921576 BCX8\" data-ccp-charstyle=\"Hyperlink\">\u00a0package\u00a0<\/span><span class=\"NormalTextRun SCXW46921576 BCX8\" data-ccp-charstyle=\"Hyperlink\">1.8<\/span><span class=\"NormalTextRun SCXW46921576 BCX8\" data-ccp-charstyle=\"Hyperlink\">.0<\/span><\/span><\/a><span class=\"TextRun SCXW46921576 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW46921576 BCX8\">\u00a0is now available! This release includes new features and optimization work for Windows ML APIs and\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW46921576 BCX8\">DirectML<\/span><span class=\"NormalTextRun SCXW46921576 BCX8\">.<\/span><\/span><span class=\"EOP SCXW46921576 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><strong>Key Windows ML Feature Updates<\/strong><\/p>\n<p style=\"text-align: justify;\">Windows ML introduces a new API <em>SetIntraOpThreadSpinning<\/em> to enable finer-grained control over thread spinning vs context switching. Enabled by default, intra-operator threads will continue spinning for some additional time, waiting for any additional work before switching. This can result in better performance of the current workload and impact the performance of other unrelated workloads as well.<\/p>\n<p style=\"text-align: justify;\"><strong>Key DirectML Feature Updates<\/strong><\/p>\n<p style=\"text-align: justify;\"><a class=\"Hyperlink SCXW102086656 BCX8\" href=\"https:\/\/www.nuget.org\/packages\/Microsoft.AI.DirectML\/1.5.1\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW102086656 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW102086656 BCX8\" data-ccp-charstyle=\"Hyperlink\">DirectML Redist package 1.5.1<\/span><\/span><\/a><span class=\"TextRun SCXW102086656 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW102086656 BCX8\">\u00a0includes<\/span><span class=\"NormalTextRun CommentStart SCXW102086656 BCX8\">\u00a0several important features<\/span><span class=\"NormalTextRun SCXW102086656 BCX8\"> since DML 1.4<\/span><span class=\"NormalTextRun SCXW102086656 BCX8\">:<\/span><\/span><span class=\"EOP SCXW102086656 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"text-align: left;\"><span data-contrast=\"auto\">The DirectML redistributable can now execute on ARM\/ARM64 machines, supported in both Windows ML and ONNX Runtime NuGet packages.\u00a0<\/span><\/li>\n<li style=\"text-align: left;\"><span data-contrast=\"auto\">New operators: AtanYX, ClipGrad, DifferenceSquare, LRNGrad, CumulativeProduct, BatchNormalizationGrad.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li style=\"text-align: left;\"><span data-contrast=\"auto\">Broader support for high dimension counts:\u00a0BatchNormalization, Cast, Join,\u00a0LpNormalization,\u00a0MeanVarianceNormalization, Padding, Tile,\u00a0TopK.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li style=\"text-align: left;\"><span data-contrast=\"auto\">Substantial performance improvements for several operators including Convolution and Resize.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Follow our Windows AI blog for more updates!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows ML NuGet package 1.8.0 is now available! Take a look to review our new features and optimization work for Windows ML APIs and DirectML EP.<\/p>\n","protected":false},"author":45626,"featured_media":74,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[4,12,7],"class_list":["post-179","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-ai","tag-directml","tag-onnx-runtime","tag-windows-ml"],"acf":[],"blog_post_summary":"<p>Windows ML NuGet package 1.8.0 is now available! Take a look to review our new features and optimization work for Windows ML APIs and DirectML EP.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/users\/45626"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/media\/74"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/windowsai\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}