﻿# Windows ML and TensorRT for RTX: reading the DirectML comparison

NVIDIA reports RTX throughput gains over earlier DirectML implementations. Generation, cached loading and diffusion-copy claims have separate scopes.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/windows-ml-tensorrt-rtx-directml-throughput-boundaries/
Language: en

NVIDIA's Windows ML comparison concerns a change of inference backend on RTX hardware. The accelerated path is TensorRT for RTX through an ONNX Runtime execution provider; DirectML is the historical comparison point. Its generation, loading and data-copy claims describe different measurements.

## A manufacturer comparison on one GPU family

The [NVIDIA article](https://developer.nvidia.com/blog/deploy-ai-models-faster-with-windows-ml-on-rtx-pcs), dated September 23, 2025, advertises 50% higher throughput than prior DirectML implementations. The comparison figure's caption identifies an RTX 5090. This is a manufacturer result, not an independent replication or a measured improvement to DirectML itself.

The [original figure](https://developer-blogs.nvidia.com/wp-content/uploads/2025/09/Figure-2.-Showcases-the-generation-throughput-speedup-of-various-models-on-Windows-ML-versus-Direct-ML.-Data-measured-on-NVIDIA-RTX-5090-GPU-png.webp) gives more specific ratios: 1.5× for an average of 760 AI models in FP16; 2× for the diffusion category labeled SD 1.5 FP16; and 1.8× for the LLM category labeled DeepSeek R1 Distill Qwen 1.5B INT4. These are category bars with stated examples, not a published per-model listing of the full suite. The average gain is not a ceiling on individual cases.

That headline does not specify a complete reproducible generation workload in the accompanying prose. A local comparison still needs the exact model artifact, numerical precision, input and output lengths, batching and absolute throughput. Hardware identity and a relative speedup alone do not establish latency, memory use or output equivalence for another application.

## Windows ML selects a provider, not one universal kernel

The [Microsoft overview](https://learn.microsoft.com/en-us/windows/ai/new-windows-ml/overview) describes Windows ML as a Windows-supported ONNX Runtime framework with hardware-specific execution providers. Provider acquisition and device selection are part of deployment, while the model's supported operations and execution path remain relevant to performance.

Consequently, a portable application interface does not imply that every device executes an identical optimized implementation. An evaluation record should name the actual provider, runtime, driver and selected device. Otherwise an update or fallback can silently change what is being compared while the application still exposes the same user-facing feature.

## Compiled contexts and kernel caches solve different work

The [TensorRT RTX provider documentation](https://onnxruntime.ai/docs/execution-providers/TensorRTRTX-ExecutionProvider.html) distinguishes an optimized EP context from later device-specific compilation. The runtime cache stores compiled kernels; it does not contain the model's graph structure or weights. Keeping only that directory is therefore not preserving the complete model deployment.

Separate first compilation, a cold load and a warm cached load. A shorter load after preparation is useful, but it cannot be substituted for first-installation behavior or generation throughput. The existing [TensorRT artifact guide](/journal/tensorrt-plan-portability/) gives related recording discipline; this client-oriented TensorRT for RTX path should retain its own documented compatibility rules rather than inherit assumptions from another TensorRT product.

## The copy-time result is not generation acceleration

The NVIDIA article separately reports approximately 75-fold lower copy time for a 30-iteration diffusion loop using device I/O bindings. That number concerns transfer overhead, not complete image generation or token production.

The [ONNX Runtime I/O-binding guide](https://onnxruntime.ai/docs/performance/tune-performance/iobinding.html) explains the mechanism: without suitable device placement, inputs can be copied from the CPU during execution and outputs copied back afterward. Binding device inputs and outputs can retain intermediates where subsequent GPU work needs them. A whole-pipeline benchmark must still include required initial and final transfers and synchronization.

## Historical results need current packaging context

The current provider documentation deprecates the built-in TensorRT RTX provider and recommends a standalone plugin. The [NVIDIA plugin repository](https://github.com/NVIDIA/TensorRT-RTX-EP-ABI) publishes an explicit compatibility matrix. Those current delivery details should not be rewritten into the historical benchmark as though the same package was measured then.

A useful reproduction would preserve both stack identity and cache state, check numerical outputs, and time complete requests. The [benchmarking guide](/journal/inference-benchmark-method/) supplies the surrounding method. The release demonstrates a vendor-supported optimization path; the reported percentages retain their specific backend, hardware and timing boundaries.
