Reputation: 10332
How can I profile TensorFlow models? I want at least to find ways to make the model faster, see how much GPU load I have, and how much GPU memory is consumed.
Upvotes: 4
Views: 2923
Reputation: 222511
There are two ways to profile models. One way is a tensorboard. Here is a comprehensive tutorial about it and here is a good video.
Additionally, clicking on a node will display the exact total memory, compute time, and tensor output sizes.
Another way is tensorflow debugger, which also has tutorials.
Upvotes: 6