Nsys Profile

Profile a context-parallel (CP) inference (or training) workflow with NVIDIA Nsight Systems (nsys). Locates or installs the nsys binary, mocks random features + small Glorot-init weights (or loads a real checkpoint), wraps the end-to-end forward in a torchrun launcher, runs nsys with the right CLI options (cuda/nvtx trace, --pytorch functions-trace/autograd, cudabacktrace, python-backtrace), and auto-annotates high-level module names (TriMul, Pairformer, trunk, diffusion, MSA) via a custom --python-functions-trace JSON — then reads the kernel/NVTX breakdown (Cannon-ring SendRecv vs GEMM, trunk vs diffusion vs confidence). Use once a CP workflow runs end-to-end and you need to see where GPU time and communication go.

nvidia-bionemo 633b560 2 files · 15.7 KB Updated

File contents

nvidia-bionemo/boltz-cp/tree/main/plugins/fold-cp/skills/nsys_profile commit 633b560c2b

Frequently asked questions

npx skillmds@latest add nvidia-bionemo/nsys-profile