Skip to content

Instantly share code, notes, and snippets.

View ivanium's full-sized avatar

Yifan Qiao ivanium

View GitHub Profile
@ivanium
ivanium / nsight.sh
Created September 19, 2023 23:41 — forked from mcarilli/nsight.sh
Favorite nsight systems profiling commands for Pytorch scripts
# This isn't supposed to run as a bash script, i named it with ".sh" for syntax highlighting.
# https://developer.nvidia.com/nsight-systems
# https://docs.nvidia.com/nsight-systems/profiling/index.html
# My preferred nsys (command line executable used to create profiles) commands
#
# In your script, write
# torch.cuda.nvtx.range_push("region name")
# ...

Keybase proof

I hereby claim:

  • I am ivanium on github.
  • I am ivanium97 (https://keybase.io/ivanium97) on keybase.
  • I have a public key ASDT37crHhceBToAmdPE9F09wd6Kc601D63x-GSRdQzBRQo

To claim this, I am signing this object: