torch.cuda.nvtx.mark torch.cuda.nvtx.mark(msg) [source] Describe an instantaneous event that occurred at some point. Parameters msg (str) – ASCII message to associate with the event.