I have tried use <nsys_profile_range > to profile within a range with my model .
But how could I set the start or stop point in my tensorlfow training script？
Env：telsa V100 + nvcr.io/nvidia/tensorflow:21.06-tf1-py3
I am sorry that there was no response to this earlier, your forum post was dropped in an orphaned category that the Nsys team was unaware of until this afternoon.
Let me loop someone on the dlprof team in on this issue.
Unfortunately there is no easy way to call cudaProfilerStart/cudaProfilerStop inside of tensorflow. The <nsys_profile_range> option is only a PyTorch feature.