DirectX Developer Blog

Boost Your Gen AI Experience with our DirectML extension for Automatic1111’s WebUI

Olive is a powerful open-source Microsoft tool to optimize ONNX models for DirectML. You may remember from this year’s Build that we showcased Olive support for Stable Diffusion, a cutting-edge Generative AI model that creates images from text. We didn’t want to stop there, since many users access Stable Diffusion through Automatic1111'...

Announcing preview support for Llama 2 in DirectML

At Inspire this year we talked about how developers will be able to run Llama 2 on Windows with DirectML and the ONNX Runtime and we've been hard at work to make this a reality. We now have a sample showing our progress with Llama 2 7B! See https://github.com/microsoft/Olive/tree/main/examples/directml/llama_v2 This sample relies on ...

Enhanced Color Filter Controls for Windows 11

A new feature to help color blind users customize their display settings   (image) (image) (top) The Color filter preview without any color filter applied,  (bottom) Color filter preview with red-green (protanopia, red-weak) filter applied Introduction At Microsoft, we are committed to making our products and services ...

Optimizing hybrid laptop performance with Cross Adapter Scan-Out (CASO)

Introduction For an avid gamer, having a robust Graphics Processing Unit (GPU) is non-negotiable for an optimal gaming experience. Hybrid laptops, equipped with both an integrated GPU (iGPU) and a discrete GPU (dGPU), have become a popular choice for many. If you've delved into maximizing your laptop gaming performance, you've undoubtedly ...

HLSL 2021 Migration Guide

The DirectX Shader Compiler Summer 2023 release is live! The most significant change in this release is the enabling of the HLSL 2021 language version by default. HLSL 2021 includes templates, operator overloads, bitfields, short-circuiting, and modernizations to loop variable scope and implicit struct casting. You can read about the details ...

D3D12 Work Graphs Preview

Work Graphs is now out of preview. See the launch blog here Contents Introduction to work graphs Work graphs are a system for GPU autonomy in D3D12. Given the increasing prevalence of general compute workloads on GPUs, the motivation is to address ...

OpenGL® on DX12 enables STEEL ASSAULT to launch on Xbox

When we initially introduced our DirectX mapping layers, our goal was to enable applications written in other graphics APIs, including DX9, DX11 and OpenGL, to run on DirectX12 systems if a native driver is not available. We’ve written about the OpenGL mapping layer previously and how we developed it by contributing OpenGL on DX12 (GLon12) ...

DirectML at Build 2023

DirectML shared some exciting announcements at Build this year! We demonstrated a few awesome demos and highlighted new capabilities during the Windows AI Breakout session, Deliver AI-powered experiences across cloud and edge, with Windows. We are also excited to announce the launch of our new product landing page! This new product page ...

Adobe Premiere Pro leverages DirectML on new AI Silicon

DirectML is ushering in a new wave of machine learning integration capabilities on emerging AI silicon. At the Windows AI Breakout BUILD session, we showcased how ONNX Runtime, powered by DirectML, enables Adobe’s Premiere Pro to leverage Intel’s next generation platform, Meteor Lake with integrated VPU.    Adobe Premiere Pro ...