DirectML sample applications

For DirectML sample applications, including a sample of a minimal DirectML application, see DirectML samples.

For a sample demonstrating how to use Olive—a powerful tool you can use to optimize DirectML performance—see Stable diffusion optimization with DirectML.

For samples with the ONNX Generate() API for Generative AI models, please visit: ONNX Runtime Generate() API

See also