Accessibility Adjustments

Use these optional tools to adjust reading and display preferences. These tools cannot resolve every accessibility barrier. Please contact the website owner if you need assistance.

  • Text adjustments
  • Content scaling 100%
  • Font size 100%
  • Line height 100%
  • Letter spacing 100%
  • Colour adjustments
  • Orientation adjustments

Windows ML adds an experimental DirectX compiler for local AI

Listen to this article

Microsoft released Windows ML 2.9.42 Experimental on November 20, adding the DirectX Compute Graph Compiler (DX CGC) as a way to run supported AI workloads on a local GPU. Developers can try it through the Windows-native Runtime and Task APIs or keep their ONNX Runtime session code and try a new execution provider. This is a developer package, not a new model, a Windows update or a production release.

Which Windows ML route fits your app?

RouteWhat it takesWhen to use it
Runtime API with DX CGCA compiled .oir, .mlirbc or .mlir artifactPrototype a Windows-native GPU pipeline
Windows ML CG execution providerA file-backed ONNX model and physical Direct3D 12 GPUTry CGC without replacing an existing ONNX Runtime session
Windows ML Task APIsA supported checkpoint and task-specific formatTry local text generation, speech recognition or classification
Stable Windows ML ONNX Runtime APIsA production-supported execution provider for the target hardwareKeep shipping without the experimental compiler

The CGC backend guide distinguishes device-targeted .oir files from durable .mlirbc files. The former are tied to the device, driver and Windows ML version that compiled them. The latter finish hardware-specific compilation when loaded, so the same file can be used on other supported devices. The experimental ONNX execution provider, by contrast, takes an ONNX file path, not a model passed only as an in-memory buffer.

The NVIDIA driver is for vendor optimizations

In its November 20 announcement, Microsoft identifies NVIDIA’s GeForce 621.24 driver or its RTX Spark equivalent for vendor-specific CGC acceleration on supported devices. The compiler can use generic GPU shaders and kernels when a driver path or particular operation does not have that optimization. That is not an assurance that any Direct3D 12 GPU or model works. CGC itself does not fall back to the CPU. The broader Windows ML Runtime routes CPU and NPU workloads separately through ONNX Runtime.

Start with a supported model and check the backend

For the first test, use the exact experimental NuGet package and Microsoft’s CGC onboarding examples, which cover ONNX and compiled artifacts. Task APIs accept select GGUF or SafeTensors checkpoints for text generation. Microsoft lists SafeTensors through Task APIs or ONNX for supported speech recognition models, and SafeTensors through Task APIs for Laya classification. A generic Runtime pipeline does not take raw GGUF or SafeTensors weights as CGC stages.

Microsoft illustrates the release with an existing Qwen3.8-27B NVFP4 checkpoint running behind a local OpenAI-compatible server on supported NVIDIA hardware. That is a vendor example, not a new Qwen release or a claim that every graphics card can run a 27B model. If you are assessing a smaller model instead, our LFM3 local deployment guide explains why a GGUF file still needs a compatible runner. Aion in Edge is another distinct route: there the browser provides the model rather than your app choosing and packaging it.

Check which backend handled each part of a representative request. Compare cold starts and repeat runs separately: the first Task session can spend time compiling programs that later launches can reuse. Keep the current provider and use the same model and inputs as a baseline. ByteForward has not benchmarked this experimental release.

Jordan Reid
Jordan Reid

Jordan Reid is focused on AI tools, agents, developer products, and the way technology changes everyday work. Jordan approaches a launch from the user’s side of the screen. What can it actually help someone finish? The voice is practical, conversational, and skeptical of products that turn a simple job into five new settings. Coverage follows coding assistants, creative software, browser agents, and the workflows around them, with attention to pricing, permissions, setup, and the human work that remains.

Leave a Reply

Your email address will not be published. Required fields are marked *

Gravatar profile