Skip to content

Instantly share code, notes, and snippets.

View AmineDiro's full-sized avatar
:octocat:
Cooking

AmineDiro AmineDiro

:octocat:
Cooking
View GitHub Profile
@AmineDiro
AmineDiro / nsight.sh
Created October 25, 2025 12:43 — 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")
# ...
@AmineDiro
AmineDiro / System Design.md
Created June 12, 2023 18:39 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?