Skip to content

Commit 26528d4

Browse files
authored
Update README.md
1 parent addb76a commit 26528d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tools/WinMLRunner/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Required command-Line arguments:
6060
-Terse: Terse Mode (suppresses repetitive console output)
6161
-AutoScale <interpolationMode>: Enable image autoscaling and set the interpolation mode [Nearest, Linear, Cubic, Fant]
6262
-GarbageDataMaxValue <maxValue>: Limit generated garbage data to a maximum value. Helpful if input data is used as an index.
63+
-LogCPUFallback: Prints which operators fallback to run on CPU when GPU is the specified device
6364
6465
Concurrency Options:
6566
-ConcurrentLoad: load models concurrently
@@ -269,6 +270,10 @@ First Iteration Performance (load, bind, session creation, and evaluate):
269270
Shared Memory usage (load, bind, session creation, and evaluate): 6.04688 MB
270271
```
271272

273+
## Log CPU Fallback
274+
Operators falling back to the CPU can cause slow performance, so you can use the -LogCPUFallback argument to see which operators are falling back to CPU. To fix CPU fallback, please make sure you are using the correct [operator set](https://docs.microsoft.com/en-us/windows/ai/windows-ml/onnx-versions) and if the issue persists please log a bug [here](https://github.com/microsoft/Windows-Machine-Learning/issues).
275+
276+
272277
## Capturing Trace Logs
273278
If you want to capture trace logs using the tool, you can use logman commands in conjunction with the debug flag:
274279
```

0 commit comments

Comments
 (0)