I’m using latest PyTorch on windows 10 with latest CUDA 9.1 runtime and tools installed. I ran a python script by pointing File in session settings to python.exe and arguments and working directory to the python file name and directory containing python file respectively.
I hit run -> generate timeline, the python code (that uses a machine learning model to do something) runs, I see the output in the console. I let it run for a few seconds and then hit stop. I immediately get:
“Unable to profile application” profiler has encountered an out-of-memory error. The model I’m using is trained on MNIST, so not particularly big…