Dyninst

This is a tool for binary instrumentation. Clone the repository using the command: git clone https://github.com/dyninst/dyninst.git Some useful links: https://github.com/BinaryAnalysisPlatform/bap/ https://studylib.net/doc/5617117/dyninst-tutorial-slides http://www.paradyn.org/tutorial/

April 27, 2018 · 1 min · Sandeep Kumar

GPU Profiling with Nsight Systems

Nsight Systems puts host ranges, CUDA API calls, GPU kernels and memory operations on one timeline. It helps locate gaps in recorded GPU activity and inspect the host-side work around them.

October 9, 2026 · 15 min · Sandeep Kumar

Activations, Normalization and Optimizers, in Plain Terms

What each of the standard building blocks actually does, why it replaced the thing before it, and what it costs.

August 12, 2026 · 10 min · Sandeep Kumar

FlashAttention: Exact Attention Without Materialization

How FlashAttention computes exact attention without materializing quadratic score and probability matrices in GPU memory.

March 8, 2026 · 19 min · Sandeep Kumar

Attacks on the control flow integrity of applications

Buffer overflow attacks Buffer overflow attack basically means that the content provided by the user to an application has a bigger size than what the application was expecting. In this case, if the application did not handle this kind of situation, then the user provided content will overwrite the stack of the application. In most cases this will corrupt the stack and the program will end with a segmentation fault. ...

March 12, 2020 · 2 min · Sandeep Kumar

Neural Network Quantization

What quantization actually changes in a network, which parts of a transformer break first, and which techniques repair them.

August 12, 2026 · 13 min · Sandeep Kumar

FlashAttention in Practice: Four Schedules and One Branch

How successive FlashAttention implementations respond to the bottleneck exposed by each new GPU generation, and what decoding needs instead.

August 7, 2026 · 10 min · Sandeep Kumar

FlashInfer: A Customizable Attention Engine for LLM Serving

FlashInfer treats LLM attention as a serving systems problem spanning data layout, kernel generation, and runtime scheduling.

August 7, 2026 · 19 min · Sandeep Kumar

Introduction to GPU Profiling

Follow a batch from the CPU to the GPU, distinguish host ranges from device activity, and use an existing trace to choose the next profiling question. A starting point for the PyTorch Profiler tutorial, Nsight Systems tutorial, and their comparison.

February 10, 2026 · 8 min · Sandeep Kumar

Continuous Batching: Who Decides What Runs Next

The scheduler is the layer between paged memory and fast kernels, and it decides whether either of them matters.

October 21, 2026 · 10 min · Sandeep Kumar

PyTorch Profiler vs Nsight Systems

Use existing ResNet-50 traces to learn what torch.profiler and Nsight Systems explain, what NVTX bridges, and why neither a busy timeline nor an operator percentage proves a bottleneck.

October 10, 2026 · 7 min · Sandeep Kumar

Agentic Inference and Mixture-of-Experts: Two Levels of Conditional Execution

How agentic orchestration and Mixture-of-Experts routing introduce conditional execution at different levels of the LLM inference stack.

February 10, 2026 · 9 min · Sandeep Kumar

Managing tasks via Google Tasks

Google tasks is a great tool to manage tasks. We can further extend its capabilities by tracking the tasks completed so far, which allows us to look back and see where all the time went. By connecting Google tasks to automate.io, we can add an entry to the Google calendar when a task is marked complete, and also create an entry into a Google sheet with all the details, such as name of the task, date tasks were created, and when it was completed. ...

February 22, 2020 · 1 min · Sandeep Kumar

Experiments with the CPU benchmark

Experiments with the CPU benchmark The iso can be downloaded from here: https://iitd-plos.github.io/col729/labs/lab0/lab0.html The link is valid only within IITD. The installation module is given at: https://www.spec.org/cpu2017/Docs/install-guide-unix.html After extracting the ISO run ./install.sh There might be a need to make the folder executable: chmod +x -R <folder name> After the installation, setup the environment by sourcing the shrc or the chrc file. source shrc go config cp Example-gcc-linux-x86.cfg try1.cfg Run using the command: ...

April 27, 2019 · 1 min · Sandeep Kumar