Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
DirectML is in sustained engineering. DirectML continues to be supported, but new feature development has moved to Windows ML for Windows-based ONNX Runtime deployments. Windows ML provides the same ONNX Runtime APIs while dynamically selecting the best execution provider based on your hardware. See What is Windows ML to learn more.
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