Shortcuts

torch.cuda.nvtx.range

torch.cuda.nvtx.range(msg, *args, **kwargs)[source]

Context manager / decorator that pushes an NVTX range at the beginning of its scope, and pops it at the end. If extra arguments are given, they are passed as arguments to msg.format().

Parameters

msg (str) – message to associate with the range

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources